Skip to main content
All docs
V21.2

RichEditControl.SaveDocument(DocumentFormat) Method

Saves the document to a byte array in the specified file format.

Namespace: DevExpress.Xpf.RichEdit

Assembly: DevExpress.Xpf.RichEdit.v21.2.dll

Declaration

public byte[] SaveDocument(
    DocumentFormat documentFormat
)

Parameters

Name Type Description
documentFormat DocumentFormat

An enumeration member that specifies the output document format.

Returns

Type Description
Byte[]

A byte array that contains data in the specified format.

Remarks

You can use this SaveDocument method overload to store a document in an external database.

See Also