## ResourceHandlingOptions class

Represents resource handling options.

```csharp
public class ResourceHandlingOptions
```

## Properties

| Name | Description |
| --- | --- |
| [Default](../../aspose.html.saving/resourcehandlingoptions/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](../../aspose.html.saving/resourcehandlingoptions/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. |
| [MaxConcurrentRequests](../../aspose.html.saving/resourcehandlingoptions/maxconcurrentrequests/) { get; set; } | Gets or sets the maximum number of requests that a save sends at the same time to download the resources it handles. Default value is 1. |
| [MaxHandlingDepth](../../aspose.html.saving/resourcehandlingoptions/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](../../aspose.html.saving/resourcehandlingoptions/pageurlrestriction/) { get; set; } | Gets or sets restriction applied to URLs of handled pages. Default value is RootAndSubFolders. |
| [ResourceUrlRestriction](../../aspose.html.saving/resourcehandlingoptions/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

* namespace [Aspose.Html.Saving](../../aspose.html.saving/)
* assembly [Aspose.HTML](../../)
