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