PivotGridExtension.ExportToImage(PivotGridSettings, Object, String, Boolean) Method
In This Article
Exports the pivot grid’s data to Image format, based on the provided settings.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public static ActionResult ExportToImage(
PivotGridSettings settings,
object dataObject,
string fileName,
bool saveAsFile
)
#Parameters
Name | Type | Description |
---|---|---|
settings | Pivot |
A Pivot |
data |
Object | A Pivot |
file |
String | A String value that specifies the target file name. |
save |
Boolean | true to display the File Download dialog; false to display the file with exported data within a page. |
#Returns
Type | Description |
---|---|
Action |
A Action |
See Also