DataStreamSupporter Class
Contents
[
Hide
]Summary: The data stream container.
Module: aspose.psd
Full Name: aspose.psd.DataStreamSupporter
Inheritance: DisposableObject
Aspose.PSD Version: 24.12.0
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| data_stream_container | StreamContainer | r | Gets the object’s data stream. |
| disposed | bool | r | Gets a value indicating whether this instance is disposed. |
| is_cached | bool | r | Gets a value indicating whether object’s data is cached currently and no data reading is required. |
Methods
| Name | Description |
|---|---|
| cache_data() | Caches the data and ensures no additional data loading will be performed from the underlying DataStreamSupporter.data_stream_container. |
| save() | Saves the object’s data to the current DataStreamSupporter. |
| save(file_path) | Saves the object’s data to the specified file location. |
| save(file_path, over_write) | Saves the object’s data to the specified file location. |
| save(stream) | Saves the object’s data to the specified stream. |
Method: save(file_path)
save(file_path)
Saves the object’s data to the specified file location.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| file_path | string | The file path to save the object’s data to. |
Method: save(file_path, over_write)
save(file_path, over_write)
Saves the object’s data to the specified file location.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| file_path | string | The file path to save the object’s data to. |
| over_write | bool | if set to |
Method: save(stream)
save(stream)
Saves the object’s data to the specified stream.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| stream | _io.BufferedRandom | The stream to save the object’s data to. |