ResourceHandlingOptions Class

ResourceHandlingOptions class

Represents resource handling options.

public class ResourceHandlingOptions

Properties

NameDescription
Default { get; set; }Gets or sets enum which represents default way of resources handling. Currently Save, Ignore and Embed values are supported. Default value is Save.
JavaScript { get; set; }Gets or sets enum which represents the way scripts are handled. Currently Save, Ignore, Discard and Embed values are supported. Default value is Save.
MaxHandlingDepth { get; set; }Gets or sets maximum depth of pages which will be handled. Depth of 1 means that only pages directly referenced from the saved document will be handled. Setting this property to -1 will lead to handling of all pages. Default value is 0.
PageUrlRestriction { get; set; }Gets or sets restriction applied to URLs of handled pages. Default value is RootAndSubFolders.
ResourceUrlRestriction { get; set; }Gets or sets restriction applied to URLs of handled resources such as css, js, images etc. Default value is SameHost.

See Also