handle_resource method
handle_resource
This method is responsible for handling the resource. In it you can save the Resource
to the stream or embed it into the parent resource.
def handle_resource(self, resource, context):
...
Parameter | Type | Description |
---|---|---|
resource | Resource | The Resource which will be handled. |
context | ResourceHandlingContext | Resource handling context. |
See Also
- module
aspose.svg.saving.resourcehandlers
- class
Resource
- class
ResourceHandler