Skip to main content

SpreadsheetDocumentInfo.SaveCopy(Stream, DocumentFormat) Method

Saves a document copy to a stream.

Namespace: DevExpress.Web.Office

Assembly: DevExpress.Web.ASPxSpreadsheet.v23.2.dll

NuGet Package: DevExpress.Web.Office


public void SaveCopy(
    Stream stream,
    DocumentFormat documentFormat


Name Type Description
stream Stream

A stream object where to save the document.

documentFormat DocumentFormat

An object specifying the document format.


Use the SaveCopy method to save a copy of the 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