Resource class
Resource class
This class describes a resource and provides methods for processing it.
The Resource type exposes the following members:
Properties
| Property | Description |
|---|---|
| status | Returns the current status of the resource. |
| mime_type | Returns the Html.MimeType of this resource. Can be if the resource was not found. |
| original_url | Returns a URL indicating where this resource was located. |
| original_reference | Returns a string containing the original reference to this resource. |
| output_url | Gets or sets the URL indicating where the resource will be located after processing. |
Methods
| Method | Description |
|---|---|
| save | Saves the resource to the provided stream. |
| embed | Embeds this resource within its parent by encoding it as Base64. The encoding result will be written to Resource.output_url. |
| with_output_url | Specifies the new URL indicating where the resource will be located after processing. |
See Also
- module
aspose.svg.saving