Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RichEditControl.DocBytes Property

Gets or sets the document content as an array of bytes in Microsoft Word 97-2003 format (Doc) format.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v24.1.dll

NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.RichEdit, DevExpress.Win.TreeMap

#Declaration

[Bindable(true)]
[Browsable(false)]
public byte[] DocBytes { get; set; }

#Property Value

Type Description
Byte[]

The document content in Doc format.

#Remarks

Use the RichEditControl.SaveDocument or Document.SaveDocument methods to save the document in DOC format. The SubDocument.GetDocBytes method gets the content of the specified document range in DOC format.

See Also