Class InkAnnotation
Represents the details about ink annotation.
Inheritance
Implements
Namespace: Syncfusion.SfPdfViewer.XForms
Assembly: Syncfusion.SfPdfViewer.XForms.dll
Syntax
public class InkAnnotation : Object, IAnnotation
Constructors
InkAnnotation(List<List<Single>>, Int32, Point)
Creates a new instance of the InkAnnotation InkAnnotation class.
Declaration
public InkAnnotation(List<List<float>> inkPointsCollection, int pageNumber, Point position)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<System.Collections.Generic.List<System.Single>> | inkPointsCollection | The collection of strokes which are represented by a series of alternate X and Y coordinates. |
System.Int32 | pageNumber | The page number in which the annotation should be added. This parameter follows 0 based indexing. |
System.Drawing.Point | position | The top left position of the ink annotation. |
Properties
Bounds
Gets or sets the bounds of the annotation within the PDF page.
Declaration
public Rectangle Bounds { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Rectangle |
InkPointsCollection
Gets or sets the collection of strokes which are represented by a series of alternate X and Y coordinates.
Declaration
public List<List<float>> InkPointsCollection { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Collections.Generic.List<System.Single>> | Default value is empty list. |
Name
Gets or sets the name of the annotation.
Declaration
public string Name { get; set; }
Property Value
Type |
---|
System.String |
PageNumber
Gets or sets the page index in which the annotation is added.
Declaration
public int PageNumber { get; }
Property Value
Type |
---|
System.Int32 |
Position
Gets or sets the top left position of the ink annotation within the page.
Declaration
public Point Position { get; set; }
Property Value
Type |
---|
System.Drawing.Point |
Settings
Gets or sets the properties of ink annotation to be edited.
Declaration
public InkAnnotationSettings Settings { get; set; }
Property Value
Type |
---|
InkAnnotationSettings |