Class ShapeAnnotationTappedEventArgs
Provides data for the ShapeAnnotationTapped event.
Inheritance
Namespace: Syncfusion.SfPdfViewer.XForms
Assembly: Syncfusion.SfPdfViewer.XForms.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 Rectangle Bounds { get; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Rectangle | A Xamarin.Forms.Point 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<Xamarin.Forms.Point> | A data points provides collection of Xamarin.Forms.Point. |
Opacity
Gets the opacity of the tapped shape annotation which is in SfPdfViewer.
Declaration
public float Opacity { get; }
Property Value
Type | Description |
---|---|
System.Single | A System.Single that holds the opacity of the tapped shape annotation. |
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 System.Int32 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 |
---|---|
Xamarin.Forms.Point | A Xamarin.Forms.Point that provides position of the tapped shape annotation in the loaded PDF document. |
StrokeColor
Gets the stroke color of the tapped shape annotation which is in SfPdfViewer.
Declaration
public Color StrokeColor { get; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | A Xamarin.Forms.Color that holds the stroke color of the tapped shape annotation. |
Thickness
Gets the thickness of the tapped shape annotation which is in SfPdfViewer.
Declaration
public float Thickness { get; }
Property Value
Type | Description |
---|---|
System.Single | A System.Int32 that holds the thickness of the tapped shape annotation. |