RenderingWatermark Class
Contents
[
Hide
]RenderingWatermark class
Watermark for rendering.
type RenderingWatermark struct {
ptr unsafe.Pointer
}
Constructors
Method | Description |
---|---|
NewRenderingWatermark_String_RenderingFont | Creates instance of text watermark. |
NewRenderingWatermark_Stream | Creates instance of image watermark. |
Methods
Method | Description |
---|---|
IsNull | Checks whether the implementation object is nullptr. |
GetRotation | Gets or sets roation of the watermark in degrees. |
SetRotation | Gets or sets roation of the watermark in degrees. |
GetScaleToPagePercent | Gets or sets scale relative to target page in percent. |
SetScaleToPagePercent | Gets or sets scale relative to target page in percent. |
GetOpacity | Gets or sets opacity of the watermark in range [0, 1]. |
SetOpacity | Gets or sets opacity of the watermark in range [0, 1]. |
IsBackground | Indicates whether the watermark is placed behind page contents. |
SetIsBackground | Indicates whether the watermark is placed behind page contents. |
GetText | Gets text of the watermark. |
GetFont | Gets font of the watermark. |
GetImage | Gets image of the watermark. |
GetHAlignment | Gets or sets horizontal alignment of the watermark to the page. |
SetHAlignment | Gets or sets horizontal alignment of the watermark to the page. |
GetVAlignment | Gets or sets vertical alignment of the watermark to the page. |
SetVAlignment | Gets or sets vertical alignment of the watermark to the page. |
GetOffsetX | Gets or sets offset value to HAlignment |
SetOffsetX | Gets or sets offset value to HAlignment |
GetOffsetY | Gets or sets offset value to VAlignment |
SetOffsetY | Gets or sets offset value to VAlignment |