Share via


Line.Y2 Property

Definition

Gets or sets the y-coordinate of the Line end point.

public:
 property double Y2 { double get(); void set(double value); };
double Y2();

void Y2(double value);
public double Y2 { get; set; }
var double = line.y2;
line.y2 = double;
Public Property Y2 As Double
<Line Y2="double"/>

Property Value

Double

double

The y-coordinate for the end point of the line, in pixels. The default is 0.

Applies to