create method

create

Creates an XPS device with the specified rendering options and stream provider.

Returns

The created XPS device.

def create(self, options, stream_provider):
    ...
ParameterTypeDescription
optionsXpsRenderingOptionsThe rendering options for the XPS device. See XpsRenderingOptions.
stream_provideraspose.svg.io.ICreateStreamProviderThe stream provider used to create the XPS output stream. See ICreateStreamProvider.

create

Creates an XPS device with the specified rendering options and file path.

Returns

The created XPS device.

def create(self, options, file):
    ...
ParameterTypeDescription
optionsXpsRenderingOptionsThe rendering options for the XPS device. See XpsRenderingOptions.
filestrThe file path for the XPS output.

create

Creates an XPS device with the specified rendering options and stream.

Returns

The created XPS device.

def create(self, options, stream):
    ...
ParameterTypeDescription
optionsXpsRenderingOptionsThe rendering options for the XPS device. See XpsRenderingOptions.
streamio.RawIOBaseThe stream for the XPS output.

See Also