Class FreeTextAnnotation
Represent free text annotation in SfPdfViewer.
Inheritance
System.Object
FreeTextAnnotation
Implements
Namespace: Syncfusion.SfPdfViewer.XForms
Assembly: Syncfusion.SfPdfViewer.XForms.dll
Syntax
public class FreeTextAnnotation : Object, IAnnotation
Constructors
FreeTextAnnotation(String, Int32, Rectangle)
Creates a new instance of the FreeTextAnnotation FreeTextAnnotation class.
Declaration
public FreeTextAnnotation(string text, int pageNumber, Rectangle bounds)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text of free text. |
System.Int32 | pageNumber | The page number in which the annotation should be added. This parameter follows 0 based indexing. |
Xamarin.Forms.Rectangle | bounds |
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 |
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 |
Settings
Gets or sets the free text annotation properties.
Declaration
public FreeTextAnnotationSettings Settings { get; set; }
Property Value
Type |
---|
FreeTextAnnotationSettings |