DocDevice constructor
Contents
[
Hide
]init
Initializes a new instance of the DocDevice class.
def __init__(self, stream_provider):
...
| Parameter | Type | Description |
|---|---|---|
| stream_provider | aspose.html.io.ICreateStreamProvider | Object that implements the ICreateStreamProvider interface |
init
Initializes a new instance of the DocDevice class by output file name.
def __init__(self, file):
...
| Parameter | Type | Description |
|---|---|---|
| file | str | The output file name |
init
Initializes a new instance of the DocDevice class by output stream.
def __init__(self, stream):
...
| Parameter | Type | Description |
|---|---|---|
| stream | io.RawIOBase | The output stream |
init
Initializes a new instance of the DocDevice class by rendering options and stream provider.
def __init__(self, options, stream_provider):
...
| Parameter | Type | Description |
|---|---|---|
| options | DocRenderingOptions | Rendering options. |
| stream_provider | aspose.html.io.ICreateStreamProvider | Object that implements the ICreateStreamProvider interface |
init
Initializes a new instance of the DocDevice class by rendering options and output file name.
def __init__(self, options, file):
...
| Parameter | Type | Description |
|---|---|---|
| options | DocRenderingOptions | Rendering options. |
| file | str | The output file name |
init
Initializes a new instance of the DocDevice class by rendering options and output stream.
def __init__(self, options, stream):
...
| Parameter | Type | Description |
|---|---|---|
| options | DocRenderingOptions | Rendering options. |
| stream | io.RawIOBase | The output stream |
See Also
- module
aspose.html.rendering.doc - class
DocDevice - class
ICreateStreamProvider