RichEditControlCompatibility.EnableDirectWriteMeasurement Property
Gets or sets whether to use DWrite to measure document text.
Namespace: DevExpress.XtraRichEdit
Assembly: DevExpress.RichEdit.v24.2.Core.dll
NuGet Package: DevExpress.RichEdit.Core
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true | true, to use DWrite instead of GDI; otherwise, false. |
Remarks
Starting from v19.1, the RichEditControl uses DWrite technology to measure document text and succesfully process East-Asian and Arabic languages.
After the upgrade, your documents may look different than in previous releases. Use the EnableDirectWriteMeasurement property to restore the previous behavior and use GDI to measure document text. The property should be set on the application startup. Refer to the How to: Perform Actions On Application Startup topic for details.