__init__ constructor

On this page

init

Initializes a new instance of the WordProcessingLoadOptions class.

def __init__(self):
    ...

init

Initializes a new instance of the WordProcessingLoadOptions class with a specified password.

def __init__(self, password):
    ...
Parameter Type Description
password str The password for opening an encrypted content.

Example

from groupdocs.watermark import Watermarker
from groupdocs.watermark.options.word_processing import WordProcessingLoadOptions

with Watermarker("./document.docx", WordProcessingLoadOptions()) as watermarker:
    # perform watermark operations
    pass

See Also

On this page