add method
add
Adds a watermark to the loaded document.
def add(self, watermark):
...
| Parameter | Type | Description |
|---|---|---|
| watermark | Watermark |
The watermark to add to the document. |
Example
Add image and text watermark to a document of any supported type.
add
Adds a watermark to the loaded document using watermark options.
def add(self, watermark, options):
...
| Parameter | Type | Description |
|---|---|---|
| watermark | Watermark |
The watermark to add to the document. |
| options | groupdocs.watermark.options.WatermarkOptions | Additional options to use when adding the watermark. |
Example
Add an image watermark to a particular page of a pdf document.
See Also
- module
groupdocs.watermark - class
AddWatermarkResult - class
Watermarker