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