Stamp

Overview

Stamp is a class in Aspose.PDF FOSS for .NET.

Base class for stamps that can be applied to PDF pages.

Properties: Background, BottomMargin, HorizontalAlignment, IsBackground, LeftMargin, Opacity, and 8 more.

Properties

NameTypeAccessDescription
StampIdintRead/WriteOptional identifier embedded as a %StampId content-stream comment when the stamp is applied, so PdfContentEditor.GetStamps / DeleteStampById can find it later.
XIndentdoubleRead/WriteX position on the page.
YIndentdoubleRead/WriteY position on the page.
RotateRotationRead/WriteRotation (0, 90, 180, 270).
RotateAngledoubleRead/WriteArbitrary rotation angle in degrees.
OpacitydoubleRead/WriteOpacity (0.0 = transparent, 1.0 = opaque).
IsBackgroundboolRead/WriteWhether the stamp is drawn behind page content.
BackgroundboolRead/WriteAlias for IsBackground.
TopMargindoubleRead/WriteTop margin offset in points.
BottomMargindoubleRead/WriteBottom margin offset in points.
LeftMargindoubleRead/WriteLeft margin offset in points.
RightMargindoubleRead/WriteRight margin offset in points.
HorizontalAlignmentHorizontalAlignmentRead/WriteHorizontal alignment.
VerticalAlignmentVerticalAlignmentRead/WriteVertical alignment.

See Also