Class FreeTextAnnotation
Represent free text annotation in SfPdfViewer
Inheritance
System.Object
FreeTextAnnotation
Implements
Namespace: Syncfusion.SfPdfViewer.Android
Assembly: Syncfusion.SfPdfViewer.Android.dll
Syntax
public class FreeTextAnnotation : Object, IAnnotation
Constructors
FreeTextAnnotation()
Instantiates a new instance of the FreeTextAnnotation class.
Declaration
public FreeTextAnnotation()
FreeTextAnnotation(String, Int32, Rectangle)
Declaration
public FreeTextAnnotation(string text, int pageNumber, Rectangle bounds)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | |
System.Int32 | pageNumber | |
System.Drawing.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 |
---|
System.Drawing.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 |