Class InkAnnotation
Represents an ink annotation.
Inheritance
System.Object
InkAnnotation
Implements
Namespace: Syncfusion.Windows.PdfViewer
Assembly: Syncfusion.SfPdfViewer.UWP.dll
Syntax
public class InkAnnotation : Object, IAnnotation
Constructors
InkAnnotation()
Creates a new instance of the InkAnnotation class.
Declaration
public InkAnnotation()
Properties
AnnotationId
Gets the annotation id.
Declaration
public string AnnotationId { get; }
Property Value
Type | Description |
---|---|
System.String |
AnnotationType
A type of the annotation.
Declaration
public string AnnotationType { get; }
Property Value
Type | Description |
---|---|
System.String |
Author
Gets or sets the name of the author of the annotation.
Declaration
public string Author { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Bounds
Gets the bounds of the annotation.
Declaration
public Rect Bounds { get; }
Property Value
Type | Description |
---|---|
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 | Description |
---|---|
System.Collections.Generic.List<Comment> |
Opacity
Gets or sets opacity of the selected ink annotation.
Declaration
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
PageNumber
Gets the page number of the annotation.
Declaration
public int PageNumber { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
StrokeColor
Gets or sets stroke color of the selected ink annotation.
Declaration
public Color StrokeColor { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Color |
Subject
Gets or sets the subject of ink annotation
Declaration
public string Subject { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Thickness
Gets or sets thickness of the selected ink annotation.
Declaration
public double Thickness { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
ClosePopupNote()
Close the popup window with details of the selected ink annotation
Declaration
public void ClosePopupNote()
OpenPopupNote()
Opens the popup window with details of the selected ink annotation
Declaration
public void OpenPopupNote()