Class ShapeAnnotationTappedEventArgs
Provides data for the ShapeAnnotationTapped event.
Inheritance
Namespace: Syncfusion.SfPdfViewer.Android
Assembly: Syncfusion.SfPdfViewer.Android.dll
Syntax
public class ShapeAnnotationTappedEventArgs : EventArgs
Properties
AnnotationType
Gets the annotation type of the tapped shape annotation which is in SfPdfViewer.
Declaration
public AnnotationMode AnnotationType { get; }
Property Value
Type | Description |
---|---|
AnnotationMode | An AnnotationMode that provides the type of the tapped shape annotation in the loaded PDF document. |
Bounds
Gets the bounds of the tapped 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 tapped shape annotation in the loaded PDF document. |
DataPoints
Gets the collection of points which used to draw tapped 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 tapped shape annotation.The maximum value is 1, minimum value is 0. |
PageNumber
Gets the page number of the tapped 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 tapped shape annotation in the loaded PDF document. |
Position
Gets the position of the tapped 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 tapped 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 tapped 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 tapped shape annotation.The maximum value is 12 and minimum value is 1. |