RenderingWatermark Class

RenderingWatermark class

Watermark for rendering.


type RenderingWatermark struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription
NewRenderingWatermarkCreates instance of text watermark.

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
GetRotationGets or sets roation of the watermark in degrees.
SetRotationGets or sets roation of the watermark in degrees.
GetScaleToPagePercentGets or sets scale relative to target page in percent.
SetScaleToPagePercentGets or sets scale relative to target page in percent.
GetOpacityGets or sets opacity of the watermark in range [0, 1].
SetOpacityGets or sets opacity of the watermark in range [0, 1].
IsBackgroundIndicates whether the watermark is placed behind page contents.
SetIsBackgroundIndicates whether the watermark is placed behind page contents.
GetTextGets text of the watermark.
GetFontGets font of the watermark.
GetHAlignmentGets or sets horizontal alignment of the watermark to the page.
SetHAlignmentGets or sets horizontal alignment of the watermark to the page.
GetVAlignmentGets or sets vertical alignment of the watermark to the page.
SetVAlignmentGets or sets vertical alignment of the watermark to the page.
GetOffsetXGets or sets offset value to
SetOffsetXGets or sets offset value to
GetOffsetYGets or sets offset value to
SetOffsetYGets or sets offset value to