Skip to main content

PivotGridControl.ExportToImage(Stream, ImageExportOptions) Method

Exports the control’s data to the specified stream in Image format using the specified Image-specific options.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.2.dll

Declaration

public void ExportToImage(
    Stream stream,
    ImageExportOptions options
)

Parameters

Name Type Description
stream Stream

A Stream object, to which the created document is exported.

options ImageExportOptions

An ImageExportOptions object that contains the export options.

Remarks

This method indirectly calls the PrintingSystemBase.ExportToImage method of the XtraPrinting Library. If this library is not available, the method does nothing. For details on the ExportToImage method, see the PrintingSystemBase.ExportToImage topic.

Note

The following image formats are supported:

PNG, BMP, GIF, JPEG, TIFF, EMF, WMF, ICO

See Also