Skip to main content

ASPxPivotGridExporter.ExportImageToResponse(String, ImageExportOptions) Method

Exports the pivot grid to the specified file in an image format using the specified options, and writes the file to the response in the binary format.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public void ExportImageToResponse(
    string fileName,
    ImageExportOptions options
)

Parameters

Name Type Description
fileName String

A String containing the full path (including the file name and extension) specifying the target file name.

options ImageExportOptions

A ImageExportOptions object that specifies export options to be applied when the control’s data is exported.

Remarks

Note

The following image formats are supported:

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

See Also