RichEditControl.SaveDocument(DocumentFormat) Method
In This Article
Saves the document to a byte array in the specified file format.
Namespace: DevExpress.XtraRichEdit
Assembly: DevExpress.XtraRichEdit.v24.2.dll
NuGet Package: DevExpress.Win.RichEdit
#Declaration
public byte[] SaveDocument(
DocumentFormat documentFormat
)
#Parameters
Name | Type | Description |
---|---|---|
document |
Document |
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 handle the RichEditControl.BeforeExport event to specify export options.
Note
The Save
See Also