ImageDevice constructor

init

Initializes a new instance of the ImageDevice class.

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

init

Initializes a new instance of the ImageDevice class.

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

init

Initializes a new instance of the ImageDevice class.

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

init

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

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

init

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

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

init

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

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

See Also