Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1110
Ultralabel letter spacing
posted

I have noticed that if you set the font size of an ultralabel to Arial 8 points that the letter spacing is different than from a regular microsoft label. Its either squeezed or streched.

Even on different machines the look is different. What causes this?

Parents
  • 469350
    Verified Answer
    Offline posted

    Hi,

    This is due to the fact that the UltraLabel is using GDI Plus text rendering. If you want the old GDI-style, you can set the TextRenderingMode propety property on the UltraLabel to GDI.

    You can also set this globally for your whole application, instead of on each individual Infragistics control, by using the static property:

    Infragistics.Win.DrawUtility.UseGDIPlusTextRendering = false;

     

Reply Children