SetCompatibleTextRenderingDefault

  • Thread starter Thread starter Fred W.
  • Start date Start date
F

Fred W.

What does

SetCompatibleTextRenderingDefault

do?

The help appears lacking here. I'm having minor issues with my font sizes.
Thanks

- Fred
 
What does
SetCompatibleTextRenderingDefault

do?


"Certain Windows Forms controls can render their text using either the
GDI graphics library, or the newer GDI+ library. This change was made
because of performance and localization issues with GDI+. By default,
existing controls that support the UseCompatibleTextRendering property
are set to true for backwards compatibility, but all new controls in
environments such as Visual Studio have this property set to false.
Use SetCompatibleTextRenderingDefault when you wish to switch the
default text rendering for new controls."

http://msdn2.microsoft.com/en-us/li...cation.setcompatibletextrenderingdefault.aspx

See also

http://blogs.msdn.com/jfoscoding/archive/2005/10/13/480632.aspx


Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top