Class ShapeAnnotationAddedEventArgs
Provides data for the ShapeAnnotationAdded event.
Inheritance
Namespace: Syncfusion.SfPdfViewer.iOS
Assembly: Syncfusion.SfPdfViewer.iOS.dll
Syntax
public class ShapeAnnotationAddedEventArgs : EventArgs
Properties
AnnotationType
Gets the annotation type of the annotation which is in SfPdfViewer.
Declaration
public AnnotationMode AnnotationType { get; }
Property Value
Type | Description |
---|---|
AnnotationMode | An AnnotationMode that provides the type of the annotation in the loaded PDF document. |
Bounds
Gets the bounds of the annotation which is in the SfPdfViewer.
Declaration
public CGRect Bounds { get; }
Property Value
Type | Description |
---|---|
CoreGraphics.CGRect | A CoreGraphics.CGRect that provides bounds of the annotation in the loaded PDF document. |
DataPoints
Gets the collection of points which used to draw shape annnotation.
Declaration
public List<CGPoint> DataPoints { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<CoreGraphics.CGPoint> | A data points provides collection of CoreGraphics.CGPoint. |
Opacity
Gets the opacity which is in ShapeAnnotation.
Declaration
public nfloat Opacity { get; }
Property Value
Type | Description |
---|---|
System.nfloat | A System.nfloat that holds the opacity of the shape annotation. |
PageNumber
Gets the page number of the 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 annotation in the loaded PDF document. |
Position
Gets the position of the annotation which is in the SfPdfViewer.
Declaration
public CGPoint Position { get; }
Property Value
Type | Description |
---|---|
CoreGraphics.CGPoint | A CoreGraphics.CGPoint that provides position of the annotation in the loaded PDF document. |
StrokeColor
Gets the stroke color which is in ShapeAnnotation.
Declaration
public UIColor StrokeColor { get; }
Property Value
Type | Description |
---|---|
UIKit.UIColor | A UIKit.UIColor that holds the stroke color of the 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 shape annotation. |