Skip to main content
A newer version of this page is available. .

ASPxPivotGridExporter.ExportImageToResponse(String, ImageExportOptions, Boolean) 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. Allows you to specify whether to display the Save As dialog.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v18.2.dll

Declaration

public void ExportImageToResponse(
    string fileName,
    ImageExportOptions options,
    bool saveAsFile
)

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.

saveAsFile Boolean

true to display the Save As dialog; false to display the file with exported data within a page.

Remarks

Note

The following image formats are supported:

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

See Also