Back to Devexpress

WindowsFormsSettings.ForceAPIPaint() Method

windowsforms-devexpress-dot-xtraeditors-dot-windowsformssettings-be85b04f.md

latest1.5 KB
Original Source

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

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

Declaration

csharp
public static void ForceAPIPaint()
vb
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

ForceGDIPlusPaint()

ForceTextRenderPaint()

WindowsFormsSettings Class

WindowsFormsSettings Members

DevExpress.XtraEditors Namespace