WordProcessingWatermarkBaseOptions class

WordProcessingWatermarkBaseOptions class

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:

Properties

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.

Fields

Field Description
DEFAULT Gets the default value for the class. (inherited from WatermarkOptions)

Example

from groupdocs.watermark import WordProcessingWatermarkBaseOptions, WatermarkLockType

options = WordProcessingWatermarkBaseOptions()
options.lock_type = WatermarkLockType.ReadOnly

See Also