Skip to main content

SpreadsheetExtension.SaveCopy(String, Stream, DocumentFormat) Method

A string value that specifies the Spreadsheet name.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

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

Parameters

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.

Remarks

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