Skip to main content

SpreadsheetDocumentInfo.SaveCopy(DocumentFormat) Method

Saves a document copy to a byte array.

Namespace: DevExpress.Web.Office

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

NuGet Package: DevExpress.Web.Office

Declaration

public byte[] SaveCopy(
    DocumentFormat documentFormat
)

Parameters

Name Type Description
documentFormat DocumentFormat

The document format.

Returns

Type Description
Byte[]

An array of bytes where the document is saved to.

Remarks

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