IImageDeviceFactory.Create

Create(ImageRenderingOptions, ICreateStreamProvider)

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

public IDevice Create(ImageRenderingOptions options, ICreateStreamProvider streamProvider)
ParameterTypeDescription
optionsImageRenderingOptionsThe rendering options for the image device. See ImageRenderingOptions.
streamProviderICreateStreamProviderThe stream provider used to create the image stream. See ICreateStreamProvider.

Return Value

The created image device.

See Also


Create(ImageRenderingOptions, string)

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

public IDevice Create(ImageRenderingOptions options, string file)
ParameterTypeDescription
optionsImageRenderingOptionsThe rendering options for the image device. See ImageRenderingOptions.
fileStringThe file path where the image will be saved.

Return Value

The created image device.

See Also


Create(ImageRenderingOptions, Stream)

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

public IDevice Create(ImageRenderingOptions options, Stream stream)
ParameterTypeDescription
optionsImageRenderingOptionsThe rendering options for the image device. See ImageRenderingOptions.
streamStreamThe stream used to save the image.

Return Value

The created image device.

See Also