Aspose::Pdf::ImageStamp class
Contents
[
Hide
]ImageStamp class
Reresents graphic stamp.
class ImageStamp : public Aspose::Pdf::Stamp
Methods
Method | Description |
---|---|
get_AlternativeText() const | Gets Alternative Text for image stamp. |
get_Background() const | 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. |
get_BottomMargin() const | Gets bottom margin of stamp. |
get_Height() override | Gets image height. Setting this image allows to scale image vertically. |
get_HorizontalAlignment() const | Gets Horizontal alignment of stamp on the page. |
get_Image() const | Gets image stream used for stamping. |
get_LeftMargin() const | Gets left margin of stamp. |
get_Opacity() const | Gets a value to indicate the stamp opacity. The value is from 0.0 to 1.0. By default the value is 1.0. |
get_OutlineOpacity() const | Gets a value to indicate the stamp outline opacity. The value is from 0.0 to 1.0. By default the value is 1.0. |
get_OutlineWidth() const | Gets a value of the stamp outline width. By default the value is 1.0. |
get_Quality() const | Gets quality of image stamp in percent. Valid values are 0..100%. |
get_RightMargin() const | Gets right margin of stamp. |
get_Rotate() | 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. |
get_RotateAngle() | Gets rotate angle of stamp in degrees. This property allows to set arbitrary rotate angle. |
get_TopMargin() const | Gets top margin of stamp. |
get_VerticalAlignment() const | Gets vertical alignment of stamp on page. |
get_Width() override | Gets image width. Setting this property allos to scal image horizontally. |
get_XIndent() const | Horizontal stamp coordinate, starting from the left. |
get_YIndent() const | Vertical stamp coordinate, starting from the bottom. |
get_Zoom() const | 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. |
get_ZoomX() const | Horizontal zooming factor of the stamp. Allows to scale stamp horizontally. |
get_ZoomY() const | Vertical zooming factor of the stamp. Allows to scale stamp vertically. |
getStampId() | Returns stamp ID. |
ImageStamp(System::SharedPtr<System::IO::Stream>) | Initializes a new instance of the ImageStamp class. |
ImageStamp(System::String) | Creates image stamp by image in the specified file. |
Put(System::SharedPtr<Page>) override | Adds graphic stamp on the page. |
set_AlternativeText(System::String) | Sets Alternative Text for image stamp. |
set_Background(bool) | 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. |
set_BottomMargin(double) | Sets bottom margin of stamp. |
set_Height(double) override | Sets image height. Setting this image allows to scale image vertically. |
set_HorizontalAlignment(Aspose::Pdf::HorizontalAlignment) | Sets Horizontal alignment of stamp on the page. |
set_LeftMargin(double) | Sets left margin of stamp. |
set_Opacity(double) | Sets a value to indicate the stamp opacity. The value is from 0.0 to 1.0. By default the value is 1.0. |
set_OutlineOpacity(double) | 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. |
set_OutlineWidth(double) | Sets a value of the stamp outline width. By default the value is 1.0. |
set_Quality(int32_t) | Sets quality of image stamp in percent. Valid values are 0..100%. |
set_RightMargin(double) | Sets right margin of stamp. |
set_Rotate(Rotation) | 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. |
set_RotateAngle(double) | Sets rotate angle of stamp in degrees. This property allows to set arbitrary rotate angle. |
set_TopMargin(double) | Sets top margin of stamp. |
set_VerticalAlignment(Aspose::Pdf::VerticalAlignment) | Sets vertical alignment of stamp on page. |
set_Width(double) override | Sets image width. Setting this property allos to scal image horizontally. |
set_XIndent(double) | Horizontal stamp coordinate, starting from the left. |
set_YIndent(double) | Vertical stamp coordinate, starting from the bottom. |
set_Zoom(double) | 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. |
set_ZoomX(double) | Horizontal zooming factor of the stamp. Allows to scale stamp horizontally. |
set_ZoomY(double) | Vertical zooming factor of the stamp. Allows to scale stamp vertically. |
setStampId(int32_t) | Sets stamp Id. |
Stamp() |
See Also
- Class Stamp
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++