WatermarkTextOptions class
WatermarkTextOptions class
Options for setting a text watermark on the converted document.
The WatermarkTextOptions type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
| init | Initializes a WatermarkOptions instance and sets the watermark text. |
Methods
| Method | Description |
|---|---|
| clone | Clone current instance. (inherited from WatermarkOptions) |
Properties
| Property | Description |
|---|---|
| color | The watermark font color if text watermark is applied. |
| text | The watermark text. |
| watermark_font | The watermark font used when a text watermark is applied. |
| auto_align | The watermark is automatically scaled. If the value is True, the position and size are automatically calculated to fit the page size. (inherited from WatermarkOptions) |
| background | The watermark is stamped as background; if True, it is laid at the bottom, otherwise (default False) it is laid on top. (inherited from WatermarkOptions) |
| height | The watermark height. (inherited from WatermarkOptions) |
| left | The watermark left position. (inherited from WatermarkOptions) |
| rotation_angle | The watermark rotation angle. (inherited from WatermarkOptions) |
| top | The watermark top position. (inherited from WatermarkOptions) |
| transparency | The watermark transparency, a value between 0 and 1 where 0 is fully visible and 1 is invisible. (inherited from WatermarkOptions) |
| width | The watermark width. (inherited from WatermarkOptions) |