__init__ constructor

On this page

init

Initializes a new instance of LoadSaveOptions without any properties specified.

def __init__(self):
    ...

init

Initializes a new instance with the specified file format to save an assembled document to.

def __init__(self, save_format):
    ...
Parameter Type Description
save_format FileFormat A file format to save an assembled document to.

Example

from groupdocs.assembly import DocumentAssembler, LoadSaveOptions, FileFormat

options = LoadSaveOptions(FileFormat.PDF)
assembler = DocumentAssembler()
# Pass `options` to `assemble_document` to generate a PDF output

See Also

On this page