Annotation Class
Represents a PDF annotation.
Inheritance
Implements
Namespace: Syncfusion.Maui.PdfViewer
Assembly: Syncfusion.Maui.PdfViewer.dll
Syntax
public class Annotation : Object, INotifyPropertyChanged
Constructors
Annotation()
Declaration
public Annotation()
Properties
Author
Gets or sets a value that indicates the author name of an annotation.
Declaration
public string Author { get; set; }
Property Value
| Type |
|---|
| System.String |
Color
Gets or sets the stroke color of an annotation.
Declaration
public Color Color { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Graphics.Color |
Comments
Gets the reply comments of the annotation.
Declaration
public ObservableCollection<Comment> Comments { get; set; }
Property Value
| Type |
|---|
| System.Collections.ObjectModel.ObservableCollection<Comment> |
CustomData
Gets or sets the custom information that will be saved in the annotation. These data are only intended to be used as references; the Viewer will not display them.
Declaration
public string CustomData { get; set; }
Property Value
| Type |
|---|
| System.String |
FillColor
Gets or sets the fill color of an annotation.
Declaration
public Color FillColor { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Graphics.Color |
FlattenOnSave
Gets or sets a flag indicating whether the annotation should be flattened when saving the document.
Declaration
public bool FlattenOnSave { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
Hidden
Gets or sets the value that indicates whether an annotation to be hidden in the document or not.
Declaration
public bool Hidden { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
IsLocked
Gets or sets a value indicating whether the annotation can be modified.
Declaration
public bool IsLocked { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
Remarks
If this property is true, then the annotation can be selected, exported and saved, but it cannot be modified or removed.
ModifiedDate
Gets or sets the date and time at which the annotation was lastly modified.
Declaration
public DateTime ModifiedDate { get; set; }
Property Value
| Type |
|---|
| System.DateTime |
Name
Gets or sets the name of an annotation.
Declaration
public string Name { get; set; }
Property Value
| Type |
|---|
| System.String |
Opacity
Gets or sets the opacity of an annotation.
Declaration
public float Opacity { get; set; }
Property Value
| Type |
|---|
| System.Single |
PageNumber
Gets the page number of an annotation.
Declaration
public int PageNumber { get; }
Property Value
| Type |
|---|
| System.Int32 |
Subject
Gets or sets the subject of an annotation.
Declaration
public string Subject { get; set; }
Property Value
| Type |
|---|
| System.String |
Text
Gets or sets the name of an annotation.
Declaration
public string Text { get; set; }
Property Value
| Type |
|---|
| System.String |
Events
PropertyChanged
Occurs when a property changed.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type |
|---|
| System.ComponentModel.PropertyChangedEventHandler |