Class StampAnnotation
Represents an annotation that displays a stamp on the page.
Implements
Inherited Members
Namespace: Syncfusion.Maui.PdfViewer
Assembly: Syncfusion.Maui.PdfViewer.dll
Syntax
public class StampAnnotation : Annotation, INotifyPropertyChanged
Constructors
StampAnnotation(StampType, Int32, PointF)
Initializes a new instance of the StampAnnotation class.
Declaration
public StampAnnotation(StampType stampType, int pageNumber, PointF position)
Parameters
Type | Name | Description |
---|---|---|
StampType | stampType | The type of the stamp. |
System.Int32 | pageNumber | The page number to which the line should be added. |
Microsoft.Maui.Graphics.PointF | position | The position in which the stamp should be added. |
StampAnnotation(Stream, Int32, RectF)
Initializes a new instance of the StampAnnotation class.
Declaration
public StampAnnotation(Stream stamp, int pageNumber, RectF bounds)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stamp | The image that needs to be displayed in the stamp annotation. |
System.Int32 | pageNumber | The page number to which the line should be added. |
Microsoft.Maui.Graphics.RectF | bounds | The position in which the stamp should be added. |
Properties
Bounds
Gets or sets the bounds for the shape annotation.
Declaration
public RectF Bounds { get; set; }
Property Value
Type |
---|
Microsoft.Maui.Graphics.RectF |
IsSignature
Gets or sets a value indicating whether this annotation should be considered as an electronic signature.
Declaration
public bool IsSignature { get; set; }
Property Value
Type |
---|
System.Boolean |
Remarks
If this property is true, the annotation’s bounds can be changed, but its other properties cannot be modified.
StampType
Gets the type of a stamp annotation.
Declaration
public StampType StampType { get; set; }
Property Value
Type |
---|
StampType |