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