com.aspose.html.saving

Class ResourceHandlingOptions



  • public class ResourceHandlingOptions
    extends Object

    Represents resource handling options.

    • Constructor Detail

      • ResourceHandlingOptions

        public ResourceHandlingOptions()
    • Method Detail

      • getUrlRestriction

        public int getUrlRestriction()

        Gets or sets restriction applied to URLs of handled resources. Default value is UrlRestriction.RootAndSubFolders.

      • setUrlRestriction

        public void setUrlRestriction(int value)

        Gets or sets restriction applied to URLs of handled resources. Default value is UrlRestriction.RootAndSubFolders.

      • getMaxHandlingDepth

        public int getMaxHandlingDepth()

        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.

      • setMaxHandlingDepth

        public void setMaxHandlingDepth(int value)

        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.