__init__ constructor

init

Initializes a new instance of the LoadOptions class.

def __init__(self):
    ...

Example

from groupdocs.metadata.options import LoadOptions

load_options = LoadOptions()
load_options.password = "123"

init

Initializes a new instance of the LoadOptions class.

def __init__(self, file_format):
    ...
Parameter Type Description
file_format FileFormat The exact type of the file.

Example

from groupdocs.metadata.options import LoadOptions
from groupdocs.metadata.common import FileFormat

load_options = LoadOptions(FileFormat.SPREADSHEET)

See Also