[]
Represents an annotation that displays text or graphics intended to look as if they were stamped on the page with a rubber stamp.
public class StampAnnotation : MarkupAnnotation, IOwnedObject, IContentItem, IPdfDict
Public Class StampAnnotation
Inherits MarkupAnnotation
Implements IOwnedObject, IContentItem, IPdfDict
Name | Description |
---|---|
StampAnnotation() | Initializes a new instance of the StampAnnotation class. |
Name | Description |
---|---|
BorderWidth | Gets or sets the border width. |
CreationDateFormat | Gets or sets the format which should be used to display CreationDate. |
Font | Gets or sets a font to draw the stamp. |
Icon | Gets or sets a string specifying the name of an icon used to display the annotation. The PDF specification provides a predefined set of icons, those are provided by the StampAnnotationIcon enumeration. In practice though this entry often contains names of custom icons specific to the application that created the document, hence this property is a string so it can accommodate arbitrary values. To assign a predefined icon, use code like the following:
|
RotationAngle | Gets the angle, in degrees, by which the stamp is rotated. Positive values indicate counterclockwise rotation. |
ShowCreationDate | Gets or sets a value indicating whether to show CreationDate on the stamp. |
ShowUserName | Gets or sets a value indicating whether to show UserName on the stamp. |
Name | Description |
---|---|
RotateContent(float) | Rotates the annotation content by the specified angle. Positive values indicate counterclockwise rotation. Note that the annotation must be added to a document before calling this method. |