LoadOptions

LoadOptions class

Contains options that used to open the file. For details, see this

The LoadOptions type exposes the following members:

Constructors

Name Description
LoadOptions() Initializes an instance of the LoadOptions class.
LoadOptions(file_type) Initializes a new instance of the LoadOptions class

Properties

Name Description
file_type Sets the type of the file to open.
password Sets the password to open encrypted file.
encoding Sets the encoding used when opening text-based files or email messages such as
None,
None,
and None.
Default value is .
detect_encoding Enables the encoding detection for the None, None, and None files.
resource_loading_timeout Sets the timeout to load external resources.
skip_external_resources Disables loading of all external resource such as images except whitelisted_resources.
whitelisted_resources The list of URL fragments corresponding to external resources that should be loaded
when skip_external_resources is set to
try_repair When enabled GroupDocs.Viewer tries to repair structural corruption in PDF documents.
Default value is false.

See Also