ISvgResourceKeeperCallback Class
Summary: The svg callback interface
Module: aspose.imaging.fileformats.svg
Full Name: aspose.imaging.fileformats.svg.ISvgResourceKeeperCallback
Methods
| Name | Description |
|---|---|
| on_font_resource_ready(args) | Called when the font resource is ready for export. |
| on_image_resource_ready(image_data, image_type, suggested_file_name, use_embedded_image) | Called when the image resource is ready for export. |
| on_svg_document_ready(html_data, suggested_file_name) | Called when the SVG document is ready for export. |
Method: on_font_resource_ready(args)
on_font_resource_ready(args)
Called when the font resource is ready for export.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| args | FontStoringArgs | The font storing options. |
Method: on_image_resource_ready(image_data, image_type, suggested_file_name, use_embedded_image)
on_image_resource_ready(image_data, image_type, suggested_file_name, use_embedded_image)
Called when the image resource is ready for export.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| image_data | System.Byte | The resource data. |
| image_type | SvgImageType | Type of the image. |
| suggested_file_name | string | Name of the suggested file. |
| use_embedded_image | bool[] | if set to |
Returns
| Type | Description |
|---|---|
| string | Returns the path to the saved resource. Path should be relative to target SVG document. |
Method: on_svg_document_ready(html_data, suggested_file_name)
on_svg_document_ready(html_data, suggested_file_name)
Called when the SVG document is ready for export.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| html_data | System.Byte | The SVG data. |
| suggested_file_name | string | Name of the suggested file. |
Returns
| Type | Description |
|---|---|
| string | Returns the path to the saved SVG document. |