Class StampAnnotation
Represent custom view in SfPdfViewer
Inheritance
System.Object
StampAnnotation
Implements
Namespace: Syncfusion.SfPdfViewer.iOS
Assembly: Syncfusion.SfPdfViewer.iOS.dll
Syntax
public class StampAnnotation : Object, IAnnotation
Constructors
StampAnnotation()
Instantiates a new instance of the StampAnnotation class.
Declaration
public StampAnnotation()
StampAnnotation(UIView, Int32, CGRect)
Declaration
public StampAnnotation(UIView customStampView, int pageNumber, CGRect bounds)
Parameters
Type | Name | Description |
---|---|---|
UIKit.UIView | customStampView | |
System.Int32 | pageNumber | |
CoreGraphics.CGRect | bounds |
Properties
Bounds
Gets a value that indicates the bounds of the stamp annotation within the page.
Declaration
public CGRect Bounds { get; set; }
Property Value
Type |
---|
CoreGraphics.CGRect |
CustomStampView
Gets or sets the view of stamp in which the annotation is added.
Declaration
public UIView CustomStampView { get; set; }
Property Value
Type |
---|
UIKit.UIView |
IsLocked
Gets or sets a value that indicates whether the annotations can be edited. if this property is true, annotation selection, resizing, moving and editing actions will be disabled for the user. Default value is false.
Declaration
public bool IsLocked { get; set; }
Property Value
Type |
---|
System.Boolean |
Remarks
When the property is true, only the tapped event will be raised, and the selected event will not be raised.
Name
Gets or sets the name of the annotation.
Declaration
public string Name { get; set; }
Property Value
Type |
---|
System.String |
PageNumber
Gets a value that indicates the page number in which the stamp is added.
Declaration
public int PageNumber { get; }
Property Value
Type |
---|
System.Int32 |
Settings
Gets or sets the value to customize the selected stamp annotation
Declaration
public StampAnnotationSettings Settings { get; set; }
Property Value
Type |
---|
StampAnnotationSettings |