LoadOptions

LoadOptions class

Allows to specify additional options (such as password) when opening a document to annotate.

public class LoadOptions

Constructors

Name Description
LoadOptions() The default constructor.

Properties

Name Description
ExternalResourceHandler { get; set; } Called for every external resource before it is loaded; can allow, skip or substitute it.
FontDirectories { get; set; } List of font directories to load custom fonts from
Password { get; set; } Document password
SkipExternalResources { get; set; } Skip external resources (remote images, style sheets, linked files) referenced by the document, so that opening, previewing or saving a document makes no network or file-share request. Default is true.
Version { get; set; } Sets what version of document will be load. Default State - last
WhitelistedResources { get; set; } Resources that are loaded even when SkipExternalResources is true. An entry is either a host name (matches that host and its subdomains, for example “example.com”) or an absolute URI prefix (for example “https://cdn.example.com/images/").

See Also