Skip to main content

ApiWatermarkSettings

Represents the ApiWatermarkSettings class.

Methods

MethodReturnsDescription
GetClassType"watermarkSettings"Returns a type of the ApiWatermarkSettings class.
GetDirectionWatermarkDirectionReturns the direction of the watermark in the document.
GetImageHeightEMU | nullReturns the height of the watermark image in the document.
GetImageURLstring | nullReturns the image URL of the watermark in the document.
GetImageWidthEMU | nullReturns the width of the watermark image in the document.
GetOpacitynumberReturns the opacity of the watermark in the document.
GetTextstring | nullReturns the text of the watermark in the document.
GetTextPrApiTextPrReturns the text properties of the watermark in the document.
GetTypeWatermarkTypeReturns the type of the watermark in the document.
SetDirectionbooleanSets the direction of the watermark in the document.
SetImageSizebooleanSets the size (width and height) of the watermark image in the document.
SetImageURLbooleanSets the image URL of the watermark in the document.
SetOpacitybooleanSets the opacity of the watermark in the document.
SetTextbooleanSets the text of the watermark in the document.
SetTextPrbooleanSets the text properties of the watermark in the document.
SetTypebooleanSets the type of the watermark in the document.