[]
        
(Showing Draft Content)

C1.Win.Chart.Annotation.Line

Line Class

Represents a line annotation for AnnotationLayer

Inheritance
Line
Implements
ILine
IShape
IAnnotationBase
IStyleProvider
Namespace: C1.Win.Chart.Annotation
Assembly: C1.Win.FlexChart.8.dll
Syntax
public class Line : AnnotationBase, INotifyPropertyChanged, ILine, IShape, IAnnotationBase, IStyleProvider

Constructors

Name Description
Line()

Create an instance of Line.

Line(string)

Create an instance of Line.

Line(string, PointF, PointF)

Create an instance of Line.

Properties

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.

Methods

Name Description
Distance(double, double)

Calculates distance from point(x,y) to the start point of line annotation.

GetSize()

Gets the element size.