Class StampAnnotation
Represents a stamp annotation.
Inheritance
System.Object
StampAnnotation
Implements
Namespace: Syncfusion.SfPdfViewer.Android
Assembly: Syncfusion.SfPdfViewer.Android.dll
Syntax
public class StampAnnotation : Object, IAnnotation
Constructors
StampAnnotation(View, Int32, Rectangle)
Declaration
public StampAnnotation(View customStampView, int pageNumber, Rectangle bounds)
Parameters
Type | Name | Description |
---|---|---|
Android.Views.View | customStampView | |
System.Int32 | pageNumber | |
System.Drawing.Rectangle | bounds |
Properties
Bounds
Gets the position and size of the deselected CustomView.
Declaration
public Rectangle Bounds { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Rectangle | A Android.Graphics.Rect that provides bounds of the deselected CustomView in the loaded PDF document. |
CustomStampView
Gets or sets the view of stamp in which the annotation is added.
Declaration
public View CustomStampView { get; set; }
Property Value
Type |
---|
Android.Views.View |
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 the page number in which the stamp annotation is added.
Declaration
public int PageNumber { get; }
Property Value
Type |
---|
System.Int32 |
Settings
Gets or sets the stamp annotation properties
Declaration
public StampAnnotationSettings Settings { get; set; }
Property Value
Type |
---|
StampAnnotationSettings |