.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

RichEditControlCompatibility.EnableDirectWriteMeasurement Property

Gets or sets whether to use DWrite to measure document text.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v20.1.Core.dll


public static bool EnableDirectWriteMeasurement { get; set; }
Public Shared Property EnableDirectWriteMeasurement As Boolean

Property Value

Type Description

true, to use DWrite instead of GDI; otherwise, false.


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.

See Also