LoadOptions

LoadOptions class

Allows a developer to specify additional options (such as a password) when loading a file.

public class LoadOptions : IResourceLoadingOptions

Constructors

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

Properties

Name Description
FileFormat { get; } Gets the exact type of the file that is to be loaded. The default value is Unknown which means that the type should be detected automatically.
Password { get; set; } Gets or sets the password for opening an encrypted document.
SkipExternalResources { get; set; } If true, all external resources will not be loaded except those in WhitelistedResources list. Default: true
WhitelistedResources { get; set; } External resources that will be always loaded

Remarks

Learn more

See Also