Share via


Line.X1 Property

Definition

Gets or sets the x-coordinate of the Line start point.

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

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

Property Value

Double

double

The x-coordinate for the start point of the line, in pixels. The default is 0.

Applies to