XpsDevice constructor

init

Initializes a new instance of the XpsDevice class.

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

init

Initializes a new instance of the XpsDevice class.

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

init

Initializes a new instance of the XpsDevice class.

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

init

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

def __init__(self, options, stream_provider):
    ...
ParameterTypeDescription
optionsXpsRenderingOptionsRendering options.
stream_provideraspose.html.io.ICreateStreamProviderObject that implements the ICreateStreamProvider interface

init

Initializes a new instance of the XpsDevice class by rendering options and output file name.

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

init

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

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

See Also