StreamSource Class
Contents
[
Hide
]Summary: Represents a stream source.
Module: aspose.psd.sources
Full Name: aspose.psd.sources.StreamSource
Inheritance: Source
Aspose.PSD Version: 24.9.0
Constructors
Name | Description |
---|---|
StreamSource(stream) | Initializes a new instance of the StreamSource class. |
StreamSource(stream, dispose_stream) | Initializes a new instance of the StreamSource class. |
Properties
Name | Type | Access | Description |
---|---|---|---|
dispose_stream | bool | r | Gets a value indicating whether stream should be disposed whenever container gets disposed. |
stream | _io.BufferedRandom | r | Gets the stream. |
Methods
Name | Description |
---|---|
get_stream_container() | Gets the stream container. |
Constructor: StreamSource(stream)
StreamSource(stream)
Initializes a new instance of the StreamSource class.
Parameters:
Parameter | Type | Description |
---|---|---|
stream | _io.BufferedRandom | The stream to open. |
Constructor: StreamSource(stream, dispose_stream)
StreamSource(stream, dispose_stream)
Initializes a new instance of the StreamSource class.
Parameters:
Parameter | Type | Description |
---|---|---|
stream | _io.BufferedRandom | The stream to open. |
dispose_stream | bool | if set to |
Method: get_stream_container()
get_stream_container()
Gets the stream container.
Returns
Type | Description |
---|---|
StreamContainer | the stream container. |