Class FreeTextAnnotation
Represents free text annotation
Implements
Namespace: Syncfusion.Windows.PdfViewer
Assembly: Syncfusion.SfPdfViewer.UWP.dll
Syntax
public class FreeTextAnnotation : Object, IAnnotation
Properties
AnnotationId
Gets the id of the annotation
Declaration
public string AnnotationId { get; }
Property Value
| Type |
|---|
| System.String |
AnnotationType
Gets the type of the annotation
Declaration
public string AnnotationType { get; }
Property Value
| Type |
|---|
| System.String |
Author
Gets or sets the name of the author of the annotation.
Declaration
public string Author { get; set; }
Property Value
| Type |
|---|
| System.String |
Bounds
Gets the bounds of the annotation
Declaration
public Rect Bounds { get; }
Property Value
| Type |
|---|
| Windows.Foundation.Rect |
Comments
Gets or sets the comments of annotation which hold text, author and modifieddateandtime.
Declaration
public List<Comment> Comments { get; set; }
Property Value
| Type |
|---|
| System.Collections.Generic.List<Comment> |
IsSelected
Gets the value indicating whether the annotation is selected.
Declaration
public bool IsSelected { get; }
Property Value
| Type |
|---|
| System.Boolean |
PageNumber
Gets the page number of the annotation
Declaration
public int PageNumber { get; }
Property Value
| Type |
|---|
| System.Int32 |
Subject
Gets or sets the subject of ink annotation
Declaration
public string Subject { get; set; }
Property Value
| Type |
|---|
| System.String |
Text
Gets or sets the text of the freetext annotation
Declaration
public string Text { get; set; }
Property Value
| Type |
|---|
| System.String |
TextColor
Gets or sets the text color of the free text annotation
Declaration
public Color TextColor { get; set; }
Property Value
| Type |
|---|
| Windows.UI.Color |
TextSize
Gets or sets the text size of the free text
Declaration
public double TextSize { get; set; }
Property Value
| Type |
|---|
| System.Double |
Methods
ClosePopupNote()
Close the popup window with details of the selected freetext annotation
Declaration
public void ClosePopupNote()
Edit()
Edits the selected free text annotation
Declaration
public void Edit()
OpenPopupNote()
Declaration
public void OpenPopupNote()