DocDevice constructor

init

Initializes a new instance of the DocDevice class.

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

init

Initializes a new instance of the DocDevice class by output file name.

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

init

Initializes a new instance of the DocDevice class by output stream.

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

init

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

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

init

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

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

init

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

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

See Also