LoadOptions constructor

init

Initializes a new instance of the LoadOptions class with empty LoadOptions.password, LoadOptions.file_format equal to FileFormat.UNKNOWN and default encodings.

def __init__(self):
    ...

init

Initializes a new instance of the LoadOptions class with timeout.

def __init__(self, timeout):
    ...
Parameter Type Description
timeout System.TimeSpan The TimeSpan that represents the number of milliseconds to wait.

init

Initializes a new instance of the LoadOptions class with LoadOptions.file_format equal to FileFormat.UNKNOWN and default encodings.

def __init__(self, password):
    ...
Parameter Type Description
password System.String The password to open the password-protected file.

init

Initializes a new instance of the LoadOptions class with empty LoadOptions.password and default encodings.

def __init__(self, file_format):
    ...
Parameter Type Description
file_format groupdocs.parser.options.FileFormat The format of the file.

init

Initializes a new instance of the LoadOptions class with empty LoadOptions.password and default encodings.

def __init__(self, file_type):
    ...
Parameter Type Description
file_type groupdocs.parser.options.FileType The type of the file.

init

Initializes a new instance of the LoadOptions class with the password and default encodings.

def __init__(self, file_format, password):
    ...
Parameter Type Description
file_format groupdocs.parser.options.FileFormat The format of the file.
password System.String The password to open the password-protected file.

init

Initializes a new instance of the LoadOptions class with the password and default encodings.

def __init__(self, file_type, password):
    ...
Parameter Type Description
file_type groupdocs.parser.options.FileType The type of the file.
password System.String The password to open the password-protected file.

init

Initializes a new instance of the LoadOptions class with custom encodings.

def __init__(self, file_format, password, encoding, default_ansi_encoding):
    ...
Parameter Type Description
file_format groupdocs.parser.options.FileFormat The format of the file.
password System.String The password to open the password-protected file.
encoding System.Text.Encoding The encoding of the document.
default_ansi_encoding System.Text.Encoding The default ANSI encoding which is used for encoding detection.

init

Initializes a new instance of the LoadOptions class with custom encodings.

def __init__(self, file_type, password, encoding, default_ansi_encoding):
    ...
Parameter Type Description
file_type groupdocs.parser.options.FileType The type of the file.
password System.String The password to open the password-protected file.
encoding System.Text.Encoding The encoding of the document.
default_ansi_encoding System.Text.Encoding The default ANSI encoding which is used for encoding detection.

init

Initializes a new instance of the LoadOptions fully customized class.

def __init__(self, file_format, password, encoding, default_ansi_encoding, timeout):
    ...
Parameter Type Description
file_format groupdocs.parser.options.FileFormat The format of the file.
password System.String The password to open the password-protected file.
encoding System.Text.Encoding The encoding of the document.
default_ansi_encoding System.Text.Encoding The default ANSI encoding which is used for encoding detection.
timeout System.TimeSpan The TimeSpan that represents the number of milliseconds to wait.

init

Initializes a new instance of the LoadOptions fully customized class.

def __init__(self, file_type, password, encoding, default_ansi_encoding, timeout):
    ...
Parameter Type Description
file_type groupdocs.parser.options.FileType The type of the file.
password System.String The password to open the password-protected file.
encoding System.Text.Encoding The encoding of the document.
default_ansi_encoding System.Text.Encoding The default ANSI encoding which is used for encoding detection.
timeout System.TimeSpan The TimeSpan that represents the number of milliseconds to wait.

See Also