IXpsDeviceFactory.Create

Create(XpsRenderingOptions, ICreateStreamProvider)

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

public IDevice Create(XpsRenderingOptions options, ICreateStreamProvider streamProvider)
ParameterTypeDescription
optionsXpsRenderingOptionsThe rendering options for the XPS device. See XpsRenderingOptions.
streamProviderICreateStreamProviderThe stream provider used to create the XPS output stream. See ICreateStreamProvider.

Return Value

The created XPS device.

See Also


Create(XpsRenderingOptions, string)

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

public IDevice Create(XpsRenderingOptions options, string file)
ParameterTypeDescription
optionsXpsRenderingOptionsThe rendering options for the XPS device. See XpsRenderingOptions.
fileStringThe file path for the XPS output.

Return Value

The created XPS device.

See Also


Create(XpsRenderingOptions, Stream)

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

public IDevice Create(XpsRenderingOptions options, Stream stream)
ParameterTypeDescription
optionsXpsRenderingOptionsThe rendering options for the XPS device. See XpsRenderingOptions.
streamStreamThe stream for the XPS output.

Return Value

The created XPS device.

See Also