create method

create

Creates a PDF device with the specified rendering options and stream provider.

Returns

The created PDF device.

def create(self, options, stream_provider):
    ...
ParameterTypeDescription
optionsPdfRenderingOptionsThe rendering options for the PDF device. See PdfRenderingOptions.
stream_provideraspose.svg.io.ICreateStreamProviderThe 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):
    ...
ParameterTypeDescription
optionsPdfRenderingOptionsThe rendering options for the PDF device. See PdfRenderingOptions.
filestrThe 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):
    ...
ParameterTypeDescription
optionsPdfRenderingOptionsThe rendering options for the PDF device. See PdfRenderingOptions.
streamio.RawIOBaseThe stream for the PDF output.

See Also