XpsDevice

XpsDevice(ICreateStreamProvider)

Initializes a new instance of the XpsDevice class.

public XpsDevice(ICreateStreamProvider streamProvider)
ParameterTypeDescription
streamProviderICreateStreamProviderThe stream provider.

See Also


XpsDevice(XpsRenderingOptions, ICreateStreamProvider)

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

public XpsDevice(XpsRenderingOptions options, ICreateStreamProvider streamProvider)
ParameterTypeDescription
optionsXpsRenderingOptionsRendering options.
streamProviderICreateStreamProviderObject that implements the ICreateStreamProvider interface

See Also


XpsDevice(string)

Initializes a new instance of the XpsDevice class.

public XpsDevice(string file)
ParameterTypeDescription
fileStringThe output file name.

See Also


XpsDevice(XpsRenderingOptions, string)

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

public XpsDevice(XpsRenderingOptions options, string file)
ParameterTypeDescription
optionsXpsRenderingOptionsRendering options.
fileStringThe output file name.

See Also


XpsDevice(Stream)

Initializes a new instance of the XpsDevice class.

public XpsDevice(Stream stream)
ParameterTypeDescription
streamStreamThe stream.

See Also


XpsDevice(XpsRenderingOptions, Stream)

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

public XpsDevice(XpsRenderingOptions options, Stream stream)
ParameterTypeDescription
optionsXpsRenderingOptionsRendering options.
streamStreamThe output stream.

See Also