Skip to main content

RichEditControlCompatibility.EnableDirectWriteMeasurement Property

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

Namespace: DevExpress.XtraRichEdit

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

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

[DefaultValue(true)]
public static bool EnableDirectWriteMeasurement { get; set; }

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.

See Also