ApiWatermarkSettings
Represents the ApiWatermarkSettings class.
Methods
| Method | Returns | Description |
|---|---|---|
| GetClassType | "watermarkSettings" | Returns a type of the ApiWatermarkSettings class. |
| GetDirection | WatermarkDirection | Returns the direction of the watermark in the document. |
| GetImageHeight | EMU | null | Returns the height of the watermark image in the document. |
| GetImageURL | string | null | Returns the image URL of the watermark in the document. |
| GetImageWidth | EMU | null | Returns the width of the watermark image in the document. |
| GetOpacity | number | Returns the opacity of the watermark in the document. |
| GetText | string | null | Returns the text of the watermark in the document. |
| GetTextPr | ApiTextPr | Returns the text properties of the watermark in the document. |
| GetType | WatermarkType | Returns the type of the watermark in the document. |
| SetDirection | boolean | Sets the direction of the watermark in the document. |
| SetImageSize | boolean | Sets the size (width and height) of the watermark image in the document. |
| SetImageURL | boolean | Sets the image URL of the watermark in the document. |
| SetOpacity | boolean | Sets the opacity of the watermark in the document. |
| SetText | boolean | Sets the text of the watermark in the document. |
| SetTextPr | boolean | Sets the text properties of the watermark in the document. |
| SetType | boolean | Sets the type of the watermark in the document. |