473,387 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

SetCompatibleTextRenderingDefault

What does

SetCompatibleTextRenderingDefault

do?

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

- Fred
Apr 3 '07 #1
1 6667
>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/lib...ngdefault.aspx

See also

http://blogs.msdn.com/jfoscoding/arc...13/480632.aspx
Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Apr 3 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Tim Haughton | last post by:
I've just released an article on using Test Driven Development with C# and Windows Forms. GUI's are often difficult to test, so I thought it might be of interest. The article along with the...
4
by: JIM.H. | last post by:
Here is the code I am having problem: static void Main(string args) { bool isPar = false; if ((args.Length == 1)) { if ((args(0).ToUpper() == "MYPAR")) { isPar = true;
2
by: Jay | last post by:
I have a windows app that looks like a dialog box. It displaya a message, with Yes/No buttons. And the Message can be different each time the windows app is started. Can I pass in the message as...
0
by: John J. Hughes II | last post by:
I have the following at the start of my code. Basically the BOL says if true use GDI+ and if false use GDI. Basically I know that GDI+ is the improved version of the GDI so why would I not want...
4
by: garyusenet | last post by:
I have a login form, which i have made by simply modifying the standard wizard created form from Visual C# express - when I chose a windows application. I have two buttons on my login form. ...
7
by: Jay | last post by:
In my C# code, I'm attempting to display a message box then quit the win form application I'm writing if a certain type of error occurs when the application starts up. In the main form's...
0
by: =?Utf-8?B?UGFua2Fq?= | last post by:
Please go to http://www.a2zdotnet.com/Default.aspx for step by step tutorials for beginers in ADO.Net sections. -- regards, Pankaj http://www.A2ZDotNet.com "George" wrote:
10
by: z1freeride | last post by:
I'm getting the object reference error somewhere in my code. It didn't exactly tell me where, and I think I've narrowed it down to this line: File.Move(tmpDlPath + fileName, dlPath + "\\" + set+...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.