Skip to main content

WindowsFormsSettings.ForceAPIPaint() Method

Enables the mixed use of the DevExpress text rendering library and System.Windows.Forms.TextRenderer class functionality.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

public static void ForceAPIPaint()

Remarks

If the painted string contains characters from the following ranges, the whole text is painted using the methods of the System.Windows.Forms.TextRenderer class:

  • 0x591 - 0x1FFF
  • 0x2C00-0x10FFFF

Otherwise, the text is painted using the methods of the DevExpress.Utils.Text.TextUtils class.

See Also