Skip to main content
A newer version of this page is available. .

ASPxRichEdit.SaveCopy(DocumentFormat) Method

Saves a document copy using the specified settings.

Namespace: DevExpress.Web.ASPxRichEdit

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

Declaration

public byte[] SaveCopy(
    DocumentFormat format
)

Parameters

Name Type Description
format DocumentFormat

A DocumentFormat object specifying the document’s 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 RicchEdit’s 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.).

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SaveCopy(DocumentFormat) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also