Aspose::Cells::Rendering::RenderingWatermark class

RenderingWatermark class

Watermark for rendering.

class RenderingWatermark

Methods

MethodDescription
GetFont()Gets font of the watermark.
GetHAlignment()Gets or sets horizontal alignment of the watermark to the page.
GetImage()Gets image of the watermark.
GetOffsetX()Gets or sets offset value to HAlignment
GetOffsetY()Gets or sets offset value to VAlignment
GetOpacity()Gets or sets opacity of the watermark in range [0, 1].
GetRotation()Gets or sets roation of the watermark in degrees.
GetScaleToPagePercent()Gets or sets scale relative to target page in percent.
GetText()Gets text of the watermark.
GetVAlignment()Gets or sets vertical alignment of the watermark to the page.
IsBackground()Indicates whether the watermark is placed behind page contents.
IsNull() constChecks whether the implementation object is nullptr.
explicit operator bool() constoperator bool()
operator=(const RenderingWatermark& src)operator=
RenderingWatermark(const U16String& text, const RenderingFont& renderingFont)Creates instance of text watermark.
RenderingWatermark(const char16_t* text, const RenderingFont& renderingFont)Creates instance of text watermark.
explicit RenderingWatermark(const Vector <uint8_t>& imageData)Creates instance of image watermark.
RenderingWatermark(RenderingWatermark_Impl* impl)Constructs from an implementation object.
RenderingWatermark(const RenderingWatermark& src)Copy constructor.
SetHAlignment(TextAlignmentType value)Gets or sets horizontal alignment of the watermark to the page.
SetIsBackground(bool value)Indicates whether the watermark is placed behind page contents.
SetOffsetX(float value)Gets or sets offset value to HAlignment
SetOffsetY(float value)Gets or sets offset value to VAlignment
SetOpacity(float value)Gets or sets opacity of the watermark in range [0, 1].
SetRotation(float value)Gets or sets roation of the watermark in degrees.
SetScaleToPagePercent(int32_t value)Gets or sets scale relative to target page in percent.
SetVAlignment(TextAlignmentType value)Gets or sets vertical alignment of the watermark to the page.
~RenderingWatermark()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also