A newer version of this page is available. Switch to the current version.

ASPxSpreadsheet.SaveCopy(Stream, DocumentFormat) Method

Saves a document copy using the specified settings.

Namespace: DevExpress.Web.ASPxSpreadsheet

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

Declaration

public void SaveCopy(
    Stream stream,
    DocumentFormat format
)
Public Sub SaveCopy(
    stream As Stream,
    format As DocumentFormat
)

Parameters

Name Type Description
stream Stream

A stream object specifying where to save the document.

format DocumentFormat

A DocumentFormat object specifying the document format.

Remarks

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