Watermarker class
Watermarker class
Represents a class for watermark management in a document.
The Watermarker type exposes the following members:
Constructors
Constructor | Description |
---|---|
init | Initializes a new instance of the Watermarker class with the specified document path. |
init | Initializes a new instance of the Watermarker class with the specified
document path and load options. |
init | Initializes a new instance of the Watermarker class with the specified
document path and settings. |
init | Initializes a new instance of the Watermarker class with the specified
document path, load options and settings. |
init | Initializes a new instance of the Watermarker class with the specified stream. |
init | Initializes a new instance of the Watermarker class with the specified stream
and load options. |
init | Initializes a new instance of the Watermarker class with the specified stream
and settings. |
init | Initializes a new instance of the Watermarker class with the specified stream,
load options and settings. |
Properties
Property | Description |
---|---|
searchable_objects | Gets or sets the content objects that are to be included in a watermark search. |
Methods
Method | Description |
---|---|
add | Adds a watermark to the loaded document. |
add | Adds a watermark to the loaded document using watermark options. |
remove | Removes watermark from the document. |
remove | Removes all watermarks in the collection from the document. |
save | Saves the document data to the underlying stream. |
save | Saves the document to the specified file location. |
save | Saves the document to the specified stream. |
save | Saves the document data to the underlying stream using save options. |
save | Saves the document to the specified file location using save options. |
save | Saves the document to the specified stream using save options. |
search | Searches all possible watermarks in the document. |
search | Searches possible watermarks according to specified search criteria. |
get_images | Finds images according to specified search criteria. |
get_images | Finds all images in the document. |
get_document_info | Gets the information about the format of the loaded document. |
generate_preview | Generates preview images for the document. |
Example
Load and save a content of any supported format.
See Also
- module
groupdocs.watermark
- class
Watermarker