Skip to main content
Row

ISpreadsheetComponent.SaveDocument(Stream, DocumentFormat) Method

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

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

void SaveDocument(
    Stream stream,
    DocumentFormat format
)

Parameters

Name Type Description
stream Stream

The Stream object to output the document to.

format DocumentFormat

One of the DocumentFormat enumeration values.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SaveDocument(Stream, DocumentFormat) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also