ApiWatermarkSettings
表示 ApiWatermarkSettings 类。
方法
| 方法 | 返回值 | 描述 |
|---|---|---|
| GetClassType | "watermarkSettings" | 返回 ApiWatermarkSettings 类的类型。 |
| GetDirection | WatermarkDirection | 返回文档中水印的方向。 |
| GetImageHeight | EMU | null | 返回文档中水印图像的高度。 |
| GetImageURL | string | null | 返回文档中水印的图像 URL。 |
| GetImageWidth | EMU | null | 返回文档中水印图像的宽度。 |
| GetOpacity | number | 返回文档中水印的不透明度。 |
| GetText | string | null | 返回文档中水印的文本。 |
| GetTextPr | ApiTextPr | 返回文档中水印的文本属性。 |
| GetType | WatermarkType | 返回文档中水印的类型。 |
| SetDirection | boolean | 设置文档中水印的方向。 |
| SetImageSize | boolean | 设置文档中水印图像的尺寸(宽度和高度)。 |
| SetImageURL | boolean | 设置文档中水印的图像 URL。 |
| SetOpacity | boolean | 设置文档中水印的不透明度。 |
| SetText | boolean | 设置文档中水印的文本。 |
| SetTextPr | boolean | 设置文档中水印的文本属性。 |
| SetType | boolean | 设置文档中水印的类型。 |