
## get_stream {#str-str}

Provides a stream for rendering.


### Returns 


A Stream object that is used for writing data during the rendering operations.


```python
def get_stream(self, name, extension):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| name | str | The name of the stream. |
| extension | str | The file name extension to use if a file stream is being created. |


## get_stream {#str-str-int}

Provides a stream for rendering.


### Returns 


A Stream object that is used for writing data during the rendering operations.


```python
def get_stream(self, name, extension, page):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| name | str | The name of the stream. |
| extension | str | The file name extension to use if a file stream is being created. |
| page | int | The page number of the document. |



### See Also
* module [`aspose.html.io`](../../)
* class [`FileCreateStreamProvider`](/html/python-net/aspose.html.io/filecreatestreamprovider)
