
## StreamSource class

Represents a stream source.



**Inheritance:** [`StreamSource`](/cad/python-net/aspose.cad.sources/streamsource) → 
[`Source`](/cad/python-net/aspose.cad/source)



The StreamSource type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [__init__](/cad/python-net/aspose.cad.sources/streamsource/__init__/#io.RawIOBase) | Initializes a new instance of the [`StreamSource`](/cad/python-net/aspose.cad.sources/streamsource) class. |
| [__init__](/cad/python-net/aspose.cad.sources/streamsource/__init__/#io.RawIOBase-bool) | Initializes a new instance of the [`StreamSource`](/cad/python-net/aspose.cad.sources/streamsource) class. |


### Properties
| Property | Description |
| :- | :- |
| [stream](/cad/python-net/aspose.cad.sources/streamsource/stream) | Gets the stream. |
| [dispose_stream](/cad/python-net/aspose.cad.sources/streamsource/dispose_stream) | Gets a value indicating whether stream should be disposed whenever container gets disposed. |


### Methods
| Method | Description |
| :- | :- |
| [get_stream_container](/cad/python-net/aspose.cad.sources/streamsource/get_stream_container/#) | Gets the stream container. |



### See Also
* module [`aspose.cad.sources`](..)
* class [`Source`](/cad/python-net/aspose.cad/source)
* class [`StreamSource`](/cad/python-net/aspose.cad.sources/streamsource)
