Class ShapeAnnotation
Represents a shape annotation.
Inheritance
System.Object
ShapeAnnotation
Implements
Namespace: Syncfusion.Windows.PdfViewer
Assembly: Syncfusion.SfPdfViewer.UWP.dll
Syntax
public class ShapeAnnotation : Object, IAnnotation
Constructors
ShapeAnnotation()
Creates a new instance of the ShapeAnnotation class.
Declaration
public ShapeAnnotation()
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> |
FillColor
Gets the fill color of selected shape
Declaration
public Color FillColor { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Color |
Opacity
Gets or sets the opacity of selected shape
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 shape.
Declaration
public Color StrokeColor { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Color |
Subject
Gets or sets the subject of popup annotation
Declaration
public string Subject { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Thickness
Gets the thickness of selected shape
Declaration
public double Thickness { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
ClosePopupNote()
Close the popup window with details of the selected shape annotation
Declaration
public void ClosePopupNote()
OpenPopupNote()
Opens the popup window with details of the selected shape annotation
Declaration
public void OpenPopupNote()