.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
Row

ISpreadsheetComponent.SaveDocument(String, DocumentFormat) Method

Saves the document to a file, specifying the document format.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v19.2.Core.dll

Declaration

void SaveDocument(
    string fileName,
    DocumentFormat format
)
Sub SaveDocument(
    fileName As String,
    format As DocumentFormat
)
void SaveDocument(
    string fileName,
    DocumentFormat format
)
Sub SaveDocument(
    fileName As String,
    format As DocumentFormat
)
void SaveDocument(
    string fileName,
    DocumentFormat format
)
Sub SaveDocument(
    fileName As String,
    format As DocumentFormat
)

Parameters

Name Type Description
fileName String

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

format DocumentFormat

One of the DocumentFormat enumeration values.

Parameters

Name Type Description
fileName String

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

format DocumentFormat

One of the DocumentFormat enumeration values.

Parameters

Name Type Description
fileName String

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

format DocumentFormat

One of the DocumentFormat enumeration values.

See Also