Class LineAnnotation
Represents an annotation that displays a line on the page.
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
Namespace: Syncfusion.Maui.PdfViewer
Assembly: Syncfusion.Maui.PdfViewer.dll
Syntax
public class LineAnnotation : ShapeAnnotation, INotifyPropertyChanged
Constructors
LineAnnotation(Single[], Int32, LineEndingStyle)
Initializes a new instance of the LineAnnotation class.
Declaration
public LineAnnotation(float[] points, int pageNumber, LineEndingStyle endStyle)
Parameters
Type | Name | Description |
---|---|---|
System.Single[] | points | Series of coordinates that represent the starting point and ending point of the line annotation. |
System.Int32 | pageNumber | The page number to which the line should be added. |
LineEndingStyle | endStyle | Gets or sets the ending style of a line annotation. |
Properties
LineEndingStyle
Gets or sets the ending style of a line annotation.
Declaration
public LineEndingStyle LineEndingStyle { get; set; }
Property Value
Type |
---|
LineEndingStyle |
Points
Gets or sets the series of coordinates that represent the starting point and ending point of a line annotation.
Declaration
public float[] Points { get; set; }
Property Value
Type |
---|
System.Single[] |
Implements
System.ComponentModel.INotifyPropertyChanged