Skip to main content

PivotGridControl.ExportToImage(String, ImageExportOptions) Method

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

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v23.2.dll

NuGet Package: DevExpress.Win.PivotGrid

Declaration

public void ExportToImage(
    string filePath,
    ImageExportOptions options
)

Parameters

Name Type Description
filePath String

A String which specifies the name (including the full path) of the file to which the control 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