A newer version of this page is available. Switch to the current version.

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.v19.2.dll


public static void ForceAPIPaint()


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