create method
Contents
[
Hide
]create
Creates an XPS device with the specified rendering options and stream provider.
Returns
The created XPS device.
def create(self, options, stream_provider):
...
| Parameter | Type | Description |
|---|---|---|
| options | XpsRenderingOptions | The rendering options for the XPS device. See XpsRenderingOptions. |
| stream_provider | aspose.svg.io.ICreateStreamProvider | The stream provider used to create the XPS output stream. See ICreateStreamProvider. |
create
Creates an XPS device with the specified rendering options and file path.
Returns
The created XPS device.
def create(self, options, file):
...
| Parameter | Type | Description |
|---|---|---|
| options | XpsRenderingOptions | The rendering options for the XPS device. See XpsRenderingOptions. |
| file | str | The file path for the XPS output. |
create
Creates an XPS device with the specified rendering options and stream.
Returns
The created XPS device.
def create(self, options, stream):
...
| Parameter | Type | Description |
|---|---|---|
| options | XpsRenderingOptions | The rendering options for the XPS device. See XpsRenderingOptions. |
| stream | io.RawIOBase | The stream for the XPS output. |
See Also
- module
aspose.svg.rendering.xps - class
ICreateStreamProvider - class
IXpsDeviceFactory - class
XpsRenderingOptions