[]
Represents a line annotation for AnnotationLayer
public class Line : AnnotationBase, INotifyPropertyChanged, ILine, IShape, IAnnotationBase, IStyleProvider
Name | Description |
---|---|
Line() | Create an instance of Line. |
Line(string) | Create an instance of Line. |
Line(string, PointF, PointF) | Create an instance of Line. |
Name | Description |
---|---|
Bounds | Gets the bounding box. |
Content | Gets or sets the element content. |
End | Gets or sets the end point of line annotation. |
EndX | Gets or sets the x-coordinate of ending point. |
EndY | Gets or sets the y-coordinate of ending point. |
Start | Gets or sets the start point of line annotation. |
StartX | Gets or sets the x-coordinate of starting point. |
StartY | Gets or sets the y-coordinate of starting point. |
Name | Description |
---|---|
Distance(double, double) | Calculates distance from point(x,y) to the start point of line annotation. |
GetSize() | Gets the element size. |