ImageStamp Class
Reresents graphic stamp.
Inheritance Hierarchy

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

The ImageStamp type exposes the following members.

Constructors
  NameDescription
Public methodImageStamp(Stream)
Initializes a new instance of the ImageStamp class.
Public methodImageStamp(String)
Creates image stamp by image in the specified file.
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.
(Inherited from Stamp.)
Public propertyBottomMargin
Gets or sets bottom margin of stamp.
(Inherited from Stamp.)
Public propertyHeight
Gets or sets image height. Setting this image allows to scale image vertically.
Public propertyHorizontalAlignment
Gets or sets Horizontal alignment of stamp on the page.
(Inherited from Stamp.)
Public propertyImage
Gets image stream used for stamping.
Public propertyLeftMargin
Gets or sets left margin of stamp.
(Inherited from 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.
(Inherited from Stamp.)
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.
(Inherited from Stamp.)
Public propertyOutlineWidth
Gets or sets a value of the stamp outline width. By default the value is 1.0.
(Inherited from Stamp.)
Public propertyQuality
Gets or sets quality of image stamp in percent. Valid values are 0..100%.
Public propertyRightMargin
Gets or sets right margin of stamp.
(Inherited from 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.
(Inherited from Stamp.)
Public propertyRotateAngle
Gets or sets rotate angle of stamp in degrees. This property allows to set arbitrary rotate angle.
(Inherited from Stamp.)
Public propertyTopMargin
Gets or sets top margin of stamp.
(Inherited from Stamp.)
Public propertyVerticalAlignment
Gets or sets vertical alignment of stamp on page.
(Inherited from Stamp.)
Public propertyWidth
Gets or sets image width. Setting this property allos to scal image horizontally.
Public propertyXIndent
Horizontal stamp coordinate, starting from the left.
(Inherited from Stamp.)
Public propertyYIndent
Vertical stamp coordinate, starting from the bottom.
(Inherited from Stamp.)
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.
(Inherited from Stamp.)
Public propertyZoomX
Horizontal zooming factor of the stamp. Allows to scale stamp horizontally.
(Inherited from Stamp.)
Public propertyZoomY
Vertical zooming factor of the stamp. Allows to scale stamp vertically.
(Inherited from Stamp.)
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodgetStampId
Returns stamp ID.
(Inherited from Stamp.)
Public methodGetType (Inherited from Object.)
Public methodPut
Adds graphic stamp on the page.
(Overrides StampPut(Page).)
Public methodsetStampId
Sets stamp Id.
(Inherited from Stamp.)
Public methodToString (Inherited from Object.)
See Also