Class ShapeAnnotationAddedEventArgs
Provides data for the ShapeAnnotationAdded event.
Inheritance
Namespace: Syncfusion.SfPdfViewer.Android
Assembly: Syncfusion.SfPdfViewer.Android.dll
Syntax
public class ShapeAnnotationAddedEventArgs : EventArgs
Properties
AnnotationType
Gets the annotation type of the added shape annotation which is in SfPdfViewer.
Declaration
public AnnotationMode AnnotationType { get; }
Property Value
Type | Description |
---|---|
AnnotationMode | An AnnotationMode that provides the type of the added shape annotation in the loaded PDF document. |
Bounds
Gets the bounds of the added shape annotation which is in the SfPdfViewer.
Declaration
public Rect Bounds { get; }
Property Value
Type | Description |
---|---|
Android.Graphics.Rect | A Android.Graphics.Rect that provides bounds of the added shape annotation in the loaded PDF document. |
DataPoints
Gets the collection of points which used to draw added shape annnotation.
Declaration
public List<Point> DataPoints { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Android.Graphics.Point> | A data points provides collection of Android.Graphics.Point. |
Opacity
Gets the opacity which is in ShapeAnnotation.
Declaration
public float Opacity { get; }
Property Value
Type | Description |
---|---|
System.Single | A System.Single that holds the opacity of the added shape annotation.The maximum value is 1, minimum value is 0. |
PageNumber
Gets the page number of the added shape annotation which is in the SfPdfViewer.
Declaration
public int PageNumber { get; }
Property Value
Type | Description |
---|---|
System.Int32 | An integer that provides the page number of the added shape annotation in the loaded PDF document. |
Position
Gets the position of the added shape annotation which is in the SfPdfViewer.
Declaration
public Point Position { get; }
Property Value
Type | Description |
---|---|
Android.Graphics.Point | A Android.Graphics.Point that provides position of the added shape annotation in the loaded PDF document. |
StrokeColor
Gets the stroke color which is in ShapeAnnotation.
Declaration
public Color StrokeColor { get; }
Property Value
Type | Description |
---|---|
Android.Graphics.Color | A Android.Graphics.Color that holds the stroke color of the added shape annotation. |
Thickness
Gets the thickness which is in ShapeAnnotation.
Declaration
public float Thickness { get; }
Property Value
Type | Description |
---|---|
System.Single | A System.Int32 that holds the thickness of the added shape annotation.The maximum value is 12 and minimum value is 1. |