LinkBase.ExportToImage(Stream, ImageFormat) Method

Exports a report to the specified stream in the specified image format.

Namespace: DevExpress.Xpf.Printing

Assembly: DevExpress.Xpf.Printing.v21.2.dll


public void ExportToImage(
    Stream stream,
    ImageFormat format


Name Type Description
stream Stream

A Stream object to which the created image file should be sent.

format ImageFormat

A ImageFormat object which specifies the image format.


Once the document export has started, it will run until the resulting document is complete and cannot be interrupted or canceled in the process.

See Also