PdfDevice constructor

init

Initializes a new instance of the PdfDevice class.

def __init__(self, stream_provider):
    ...
ParameterTypeDescription
stream_provideraspose.html.io.ICreateStreamProviderThe stream provider.

init

Initializes a new instance of the PdfDevice class.

def __init__(self, file):
    ...
ParameterTypeDescription
filestrThe output file name.

init

Initializes a new instance of the PdfDevice class.

def __init__(self, stream):
    ...
ParameterTypeDescription
streamio.RawIOBaseThe stream.

init

Initializes a new instance of the PdfDevice class by rendering options and stream provider.

def __init__(self, options, stream_provider):
    ...
ParameterTypeDescription
optionsPdfRenderingOptionsRendering options.
stream_provideraspose.html.io.ICreateStreamProviderObject 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):
    ...
ParameterTypeDescription
optionsPdfRenderingOptionsRendering options.
filestrThe output file name.

init

Initializes a new instance of the PdfDevice class by rendering options and output stream.

def __init__(self, options, stream):
    ...
ParameterTypeDescription
optionsPdfRenderingOptionsRendering options.
streamio.RawIOBaseThe output stream.

See Also