__init__ constructor

init

Initializes a new instance of the LoadOptions class with automatic format detection.

def __init__(self):
    ...

init

Initializes a new instance of the LoadOptions class with an explicit file format.

def __init__(self, file_format):
    ...
Parameter Type Description
file_format FileFormat The file format of the document to load. This bypasses automatic format detection, which is especially useful when loading documents from streams that lack a file extension.

See Also