Back to Devexpress

RichEditControl.SaveDocument(DocumentFormat) Method

wpf-devexpress-dot-xpf-dot-richedit-dot-richeditcontrol-dot-savedocument-x28-devexpress-dot-xtrarichedit-dot-documentformat-x29.md

latest1.5 KB
Original Source

RichEditControl.SaveDocument(DocumentFormat) Method

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

Namespace : DevExpress.Xpf.RichEdit

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

NuGet Package : DevExpress.Wpf.RichEdit

Declaration

csharp
public byte[] SaveDocument(
    DocumentFormat documentFormat
)
vb
Public Function SaveDocument(
    documentFormat As DocumentFormat
) As Byte()

Parameters

NameTypeDescription
documentFormatDocumentFormat

An enumeration member that specifies the output document format.

|

Returns

TypeDescription
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

RichEditControl Class

RichEditControl Members

DevExpress.Xpf.RichEdit Namespace