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.v20.1.dll

Declaration

public static void ForceAPIPaint()
Public Shared Sub 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