Aspose::Cells::Rendering::RenderingWatermark class
Contents
[
Hide
]RenderingWatermark class
Watermark for rendering.
class RenderingWatermark
Methods
Method | Description |
---|---|
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() const | Checks whether the implementation object is nullptr. |
explicit operator bool() const | operator 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
Field | Description |
---|---|
_impl | The implementation object. |
See Also
- Namespace Aspose::Cells::Rendering
- Library Aspose.Cells for C++