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.v24.2.dll
NuGet Package: DevExpress.Win.PivotGrid
#Declaration
public void ExportToImage(
string filePath,
ImageExportOptions options
)
#Parameters
Name | Type | Description |
---|---|---|
file |
String | A String which specifies the name (including the full path) of the file to which the control is exported. |
options | Image |
An Image |
#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