Exports the current grid data to the specified file using the specified
GrapeCity.ActiveAnalysis.Export.ExportDocFormat.
Syntax
Parameters
- fileInfo
- Describes a file, to which data is to be saved.
- docFormat
- The document format. The default format is CSV.
Example
The following code example shows how to use this member
GrapeCity.ActiveAnalysis.Frontend.Export.CSVExporter class. This code produces export to file.
| C# | Copy Code |
|---|
public void ExportPivotViewData(string fileName, PivotView pivotView)
{
FileInfo fileInfo = new FileInfo(fileName);
pivotView.Export(fileInfo, ExportDocFormat.CSV);
} |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also