save method
save
Saves the resource to the provided stream.
Returns
This resource so that you can chain calls.
def save(self, stream, context):
...
| Parameter | Type | Description |
|---|---|---|
| stream | io.RawIOBase | The stream in which the resource will be saved. |
| context | ResourceHandlingContext | Resource handling context. |
Exceptions
| Exception | Description |
|---|---|
| InvalidOperationException | Raised if Resource.output_url is . Resource.output_url should be specified before saving the resource because otherwise it is impossible to specify the correct reference in the resources referencing this one. |
See Also
- module
aspose.svg.saving - class
Resource