Stamp Class
An abstract class for various kinds of stamps which come as descendants.
Inheritance Hierarchy

Namespace: Aspose.Pdf
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.3
Syntax
public abstract class Stamp

The Stamp type exposes the following members.

Constructors
  NameDescription
Protected methodStamp
Initializes a new instance of the Stamp class
Properties
  NameDescription
Public propertyBackground
Sets or gets a bool value that indicates the content is stamped as background. If the value is true, the stamp content is layed at the bottom. By defalt, the value is false, the stamp content is layed at the top.
Public propertyBottomMargin
Gets or sets bottom margin of stamp.
Public propertyHeight
Desired height of the stamp on the page.
Public propertyHorizontalAlignment
Gets or sets Horizontal alignment of stamp on the page.
Public propertyLeftMargin
Gets or sets left margin of stamp.
Public propertyOpacity
Gets or sets a value to indicate the stamp opacity. The value is from 0.0 to 1.0. By default the value is 1.0.
Public propertyOutlineOpacity
Gets or sets a value to indicate the stamp outline opacity. The value is from 0.0 to 1.0. By default the value is 1.0.
Public propertyOutlineWidth
Gets or sets a value of the stamp outline width. By default the value is 1.0.
Public propertyRightMargin
Gets or sets right margin of stamp.
Public propertyRotate
Sets or gets the rotation of stamp content according Rotation values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None.
Public propertyRotateAngle
Gets or sets rotate angle of stamp in degrees. This property allows to set arbitrary rotate angle.
Public propertyTopMargin
Gets or sets top margin of stamp.
Public propertyVerticalAlignment
Gets or sets vertical alignment of stamp on page.
Public propertyWidth
Desired width of the stamp on the page.
Public propertyXIndent
Horizontal stamp coordinate, starting from the left.
Public propertyYIndent
Vertical stamp coordinate, starting from the bottom.
Public propertyZoom
Zooming factor of the stamp. Allows to scale stamp. Please note that pair of properties ZoomX and ZoomY allows to set zoom factor for every axe separately. Setting of this property changes both ZoomX and ZoomY properties. If ZoomX and ZoomY are different then Zoom property returns ZoomX value.
Public propertyZoomX
Horizontal zooming factor of the stamp. Allows to scale stamp horizontally.
Public propertyZoomY
Vertical zooming factor of the stamp. Allows to scale stamp vertically.
Methods
  NameDescription
Protected methodaddExtGState
Add G state on the page for stamp.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Protected methodgetPageRotationMatrix
Returns transformation matrix for page.
Protected methodgetPoint
Returns point if the stamp on the page.
Protected methodgetScaleMatrix
Returns scaling matrix of the stamp.
Public methodgetStampId
Returns stamp ID.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodPut
Adds stamp on the page.
Public methodsetStampId
Sets stamp Id.
Public methodToString (Inherited from Object.)
Fields
  NameDescription
Protected field_horizontalAlignment
Horizontal alignment of the stamp.
Protected field_verticalAlignment
Vertical alignemtn of the stamp.
See Also