LoadOptions

LoadOptions class

Contains options that used to open the file. For details, see this page and its children.

public class LoadOptions

Constructors

Name Description
LoadOptions() Initializes an instance of the LoadOptions class.
LoadOptions(FileType) Initializes an instance of the LoadOptions class.

Properties

Name Description
DetectEncoding { get; set; } Enables the encoding detection for the TXT, CSV, and TSV files.
Encoding { get; set; } Sets the encoding used when opening text-based files or email messages such as CSV, TXT, and MSG. Default value is UTF8.
FileType { get; set; } Sets the type of the file to open.
Password { get; set; } Sets the password to open encrypted file.
ResourceLoadingTimeout { get; set; } Sets the timeout to load external resources.
SkipExternalResources { get; set; } Disables loading of all external resource such as images except WhitelistedResources.
WhitelistedResources { get; set; } The list of URL fragments corresponding to external resources that should be loaded when SkipExternalResources is set to true.

See Also