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

SpreadsheetControl.SaveDocument(String) Method

Saves the document to the specified file. The file format is identified by the file extension.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.XtraSpreadsheet.v18.2.dll

Declaration

public void SaveDocument(
    string fileName
)

Parameters

Name Type Description
fileName String

A string value specifying the path to a file in which to save the document.

Remarks

Use the SpreadsheetControl.Options.Export property that returns the WorkbookExportOptions object to set global export options, or handle the SpreadsheetControl.BeforeExport event to specify options for an individual export action.

See Also