PdfPageStamp

PdfPageStamp class

Class represents stamp which uses PDF page as stamp.

public sealed class PdfPageStamp : Stamp

Constructors

Name Description
PdfPageStamp(Page) Constructor of PdfPageStamp.
PdfPageStamp(Stream, int) Creates Pdf page stamp from specifed page in the document from the stream.
PdfPageStamp(string, int) Creates Pdf page stamp from specifed page of the document in specified file.

Properties

Name Description
Background { get; set; } 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.
BottomMargin { get; set; } Gets or sets bottom margin of stamp.
virtual Height { get; set; } Desired height of the stamp on the page.
HorizontalAlignment { get; set; } Gets or sets Horizontal alignment of stamp on the page.
LeftMargin { get; set; } Gets or sets left margin of stamp.
Opacity { get; set; } 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.
OutlineOpacity { get; set; } 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.
OutlineWidth { get; set; } Gets or sets a value of the stamp outline width. By default the value is 1.0.
PdfPage { get; set; } Gets or sets page which will be used as stamp.
RightMargin { get; set; } Gets or sets right margin of stamp.
Rotate { get; set; } 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.
RotateAngle { get; set; } Gets or sets rotate angle of stamp in degrees. This property allows to set arbitrary rotate angle.
TopMargin { get; set; } Gets or sets top margin of stamp.
VerticalAlignment { get; set; } Gets or sets vertical alignment of stamp on page.
virtual Width { get; set; } Desired width of the stamp on the page.
XIndent { get; set; } Horizontal stamp coordinate, starting from the left.
YIndent { get; set; } Vertical stamp coordinate, starting from the bottom.
Zoom { get; set; } 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.
ZoomX { get; set; } Horizontal zooming factor of the stamp. Allows to scale stamp horizontally.
ZoomY { get; set; } Vertical zooming factor of the stamp. Allows to scale stamp vertically.

Methods

Name Description
getStampId() Returns stamp ID.
override Put(Page) Put stamp on the specified page.
setStampId(int) Sets stamp Id.

See Also