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