Resource.Embed
Resource.Embed method
Embeds this resource within its parent by encoding it as Base64. The encoding result will be written to OutputUrl.
public Resource Embed(ResourceHandlingContext context)
| Parameter | Type | Description | 
|---|---|---|
| context | ResourceHandlingContext | Resource handling context. | 
Return Value
This resource so that you can chain calls.
Exceptions
| exception | condition | 
|---|---|
| InvalidOperationException | Raised if there is no ParentResourcebecause there is nowhere to embed the result. | 
See Also
- class ResourceHandlingContext
- class Resource
- namespace Aspose.Html.Saving
- assembly Aspose.HTML