__init__ constructor

init

Initializes a new instance of PdfSaveOptions with default values.

def __init__(self):
    ...

init

Initializes a new instance of PdfSaveOptions with the specified output file format.

def __init__(self, file_format):
    ...
Parameter Type Description
file_format PdfSaveFileFormat Output file type PdfSaveFileFormat.

init

Initializes a new instance of PdfSaveOptions with an overwrite flag.

def __init__(self, overwrite_existing_file):
    ...
Parameter Type Description
overwrite_existing_file bool Flag whether to overwrite signed file with same file.

init

Initializes a new instance of PdfSaveOptions with the specified output file format and overwrite flag.

def __init__(self, file_format, overwrite_existing_file):
    ...
Parameter Type Description
file_format PdfSaveFileFormat Output file type.
overwrite_existing_file bool Flag whether to overwrite signed file with same file.

Example

from groupdocs.signature.options import PdfSaveOptions
from groupdocs.signature.domain import PdfSaveFileFormat

# Create save options with PDF format and allow overwriting existing files
save_options = PdfSaveOptions(fileFormat=PdfSaveFileFormat.PDF, overwriteExistingFile=True)

See Also