WordProcessingContent class
WordProcessingContent class
Class representing Word document (doc, docx etc) where watermark should be placed.
Inheritance: WordProcessingContent →
Content →
ContentPart
The WordProcessingContent type exposes the following members:
Properties
| Property | Description |
|---|---|
| sections | Gets the collection of all sections of this WordProcessingContent. |
| page_count | Gets the number of pages in the document. |
Methods
| Method | Description |
|---|---|
| find_images | Finds images according to the specified search criteria.
The search is conducted in the objects specified in Watermarker.searchable_objects. |
| find_images | Finds all images in the content.
The search is conducted in the objects specified in Watermarker.searchable_objects. |
| search | Finds possible watermarks according to specified search criteria.
The search is conducted in the objects specified in Watermarker.searchable_objects. |
| search | Finds all possible watermarks in the content.
The search is conducted in the objects specified in Watermarker.searchable_objects. |
| encrypt | Encrypts the document. |
| decrypt | Decrypts the document. |
| protect | Protects the document from changes and sets a protection password. |
| unprotect | Removes protection from the document regardless of the password. |
Remarks
Learn more: | | | | | | |
Example
Load and save Word document of any supported type.
See Also
- module
groupdocs.watermark.contents.wordprocessing - class
Content - class
ContentPart - class
WordProcessingContent