Class InkAnnotation
Represents an annotation that displays a freehand drawing on the page.
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
Namespace: Syncfusion.Maui.PdfViewer
Assembly: Syncfusion.Maui.PdfViewer.dll
Syntax
public class InkAnnotation : Annotation, INotifyPropertyChanged
Constructors
InkAnnotation(List<List<Single>>, Int32)
Initializes a new instance of the InkAnnotation class.
Declaration
public InkAnnotation(List<List<float>> pointsCollection, int pageNumber)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<System.Collections.Generic.List<System.Single>> | pointsCollection | The series of coordinates that represent the strokes of the ink annotations. |
System.Int32 | pageNumber | The page number to which the line should be added. |
Properties
BorderWidth
Gets or sets the border thickness of an annotation.
Declaration
public float BorderWidth { get; set; }
Property Value
Type |
---|
System.Single |
Bounds
Gets or sets the bounds for the shape annotation.
Declaration
public RectF Bounds { get; set; }
Property Value
Type |
---|
Microsoft.Maui.Graphics.RectF |
IsSignature
Gets or sets a value indicating whether this annotation should be considered as an electronic signature.
Declaration
public bool IsSignature { get; set; }
Property Value
Type |
---|
System.Boolean |
Remarks
If this property is true, the annotation’s bounds can be changed, but its other properties cannot be modified.
PointsCollection
Gets or sets the series of coordinates that represent the ink points of an ink annotation.
Declaration
public List<List<float>> PointsCollection { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<System.Collections.Generic.List<System.Single>> |
Implements
System.ComponentModel.INotifyPropertyChanged