SpreadsheetExtension.SaveCopy(String, Stream, DocumentFormat) Method

A string value that specifies the Spreadsheet name.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v21.1.dll


public static void SaveCopy(
    string extensionName,
    Stream outputStream,
    DocumentFormat format


Name Type Description
extensionName String

A string value that specifies the Spreadsheet name.

outputStream Stream

A stream object where the document will be saved.

format DocumentFormat

A DocumentFormat object specifying the document format.


Use the SaveCopy method to save a copy of the specified Spreadsheet’s document to a stream specifying the document’s format. This method just exports the document and does not affect the original document state (it does not initiate document synchronization, does not apply client changes to the document model, etc.).

See Also