WordProcessingWatermarkBaseOptions class
Leave feedback
On this page
The base class for watermark adding options to a Word document.
Lock types can be specified via the lock_type property to restrict editing of the watermark. Available lock types include AllowOnlyRevisions, AllowOnlyComments, AllowOnlyFormFields, ReadOnly, and ReadOnlyWithEditableContent.
The WordProcessingWatermarkBaseOptions type exposes the following members:
| Property | Description |
|---|---|
| alternative_text | The descriptive (alternative) text that will be associated with a shape. |
| effects | The effects to apply to the watermark, specified as a WordProcessingImageEffects or WordProcessingTextEffects instance. |
| is_locked | The property indicates whether editing of the shape in Word is forbidden. |
| lock_type | The watermark lock type. |
| name | The name of the shape. |
| password | The password used to lock the watermark. |
| Field | Description |
|---|---|
| DEFAULT | Gets the default value for the class. (inherited from WatermarkOptions) |
from groupdocs.watermark import WordProcessingWatermarkBaseOptions, WatermarkLockType
options = WordProcessingWatermarkBaseOptions()
options.lock_type = WatermarkLockType.ReadOnly
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.