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

Workbook.SaveDocument Method

Name Parameters Description
SaveDocument(DocumentFormat) format Saves a document to an array of bytes in the specified format.
SaveDocument(Stream, DocumentFormat) stream, format

Saves the workbook to a stream, specifying the export format.

You require a license to the DevExpress Office File API or DevExpress Universal Subscription to use this method in production code.

SaveDocument(String, DocumentFormat) fileName, format

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

You require a license to the DevExpress Office File API or DevExpress Universal Subscription to use this method in production code.

SaveDocument(String) fileName

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

You require a license to the DevExpress Office File API or DevExpress Universal Subscription to use this method in production code.