ResourceHandlingOptions Class
Represents resource handling options.
Inheritance Hierarchy
SystemObject
  Aspose.Html.SavingResourceHandlingOptions

Namespace: Aspose.Html.Saving
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.9
Syntax
public class ResourceHandlingOptions

The ResourceHandlingOptions type exposes the following members.

Properties
  NameDescription
Public propertyDefault
Gets or sets enum which represents default way of resources handling. Currently Save and Embed values are supported. Default value is Save.
Public propertyJavaScript
Gets or sets enum which represents the way scripts are handled. Currently Save, Discard and Embed values are supported. Default value is Save.
Public propertyMaxHandlingDepth
Gets or sets maximum depth of resource which will be handled. Depth of 1 means that only resources directly referenced from the saved document will be handled. Setting this property to -1 will lead to handling of all resources. Default value is 3.
Public propertyUrlRestriction
Gets or sets restriction applied to URLs of handled resources. Default value is RootAndSubFolders.
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also