ImageStamp

Overview

ImageStamp is a class in Aspose.PDF FOSS for Python. Inherits from: Stamp.

An image, scaled to the box it is given.

Properties: artifact, artifact_subtype, artifact_type, background, height, horizontal_alignment, and 8 more.

Properties

NameTypeAccessDescription
imagebytes | bytearray | str | PathRead/WriteGets or sets the image.
widthfloat | NoneRead/WriteGets or sets the width.
heightfloat | NoneRead/WriteGets or sets the height.
opacityfloatRead/WriteGets or sets the opacity.
rotatefloatRead/WriteGets or sets the rotate.
backgroundboolRead/WriteGets or sets the background.
horizontal_alignmentHorizontalAlignmentRead/WriteGets or sets the horizontal alignment.
vertical_alignmentVerticalAlignmentRead/WriteGets or sets the vertical alignment.
x_indentfloatRead/WriteGets or sets the x indent.
y_indentfloatRead/WriteGets or sets the y indent.
zoomfloatRead/WriteGets or sets the zoom.
artifactboolRead/WriteGets or sets the artifact.
artifact_typestr | NoneRead/WriteGets or sets the artifact type.
artifact_subtypestr | NoneRead/WriteGets or sets the artifact subtype.

See Also