Click here to Skip to main content
15,890,690 members
Home / Discussions / C#
   

C#

 
AnswerRe: convert .xls file into image file or word image file Pin
Wes Aday22-Oct-09 4:06
professionalWes Aday22-Oct-09 4:06 
AnswerRe: convert .xls file into image file or word image file Pin
benjymous22-Oct-09 5:03
benjymous22-Oct-09 5:03 
Questionhaving problem in opening Ms Office files into webBrowser Pin
muhammad_umair22-Oct-09 1:08
muhammad_umair22-Oct-09 1:08 
AnswerRe: having problem in opening Ms Office files into webBrowser Pin
Richard MacCutchan22-Oct-09 1:50
mveRichard MacCutchan22-Oct-09 1:50 
QuestionUsing lock statement inside overloaded methods Pin
Nuno Pacheco22-Oct-09 0:19
Nuno Pacheco22-Oct-09 0:19 
AnswerRe: Using lock statement inside overloaded methods Pin
Covean22-Oct-09 1:12
Covean22-Oct-09 1:12 
GeneralRe: Using lock statement inside overloaded methods Pin
Nuno Pacheco22-Oct-09 1:23
Nuno Pacheco22-Oct-09 1:23 
GeneralRe: Using lock statement inside overloaded methods Pin
Covean22-Oct-09 1:48
Covean22-Oct-09 1:48 
GeneralRe: Using lock statement inside overloaded methods Pin
Nuno Pacheco22-Oct-09 2:36
Nuno Pacheco22-Oct-09 2:36 
GeneralRe: Using lock statement inside overloaded methods Pin
Covean22-Oct-09 2:53
Covean22-Oct-09 2:53 
Questionhow to create multiple connections in a client application Pin
Ajithevn21-Oct-09 23:36
Ajithevn21-Oct-09 23:36 
QuestionRe: how to create multiple connections in a client application Pin
Björn T.J.M. Spruit22-Oct-09 0:00
Björn T.J.M. Spruit22-Oct-09 0:00 
AnswerRe: how to create multiple connections in a client application Pin
Ajithevn22-Oct-09 0:11
Ajithevn22-Oct-09 0:11 
AnswerRe: how to create multiple connections in a client application Pin
Abhishek Sur22-Oct-09 0:07
professionalAbhishek Sur22-Oct-09 0:07 
GeneralRe: how to create multiple connections in a client application Pin
Ajithevn22-Oct-09 0:17
Ajithevn22-Oct-09 0:17 
QuestionRe: how to create multiple connections in a client application Pin
Ajithevn22-Oct-09 1:04
Ajithevn22-Oct-09 1:04 
QuestionText blurring using Graphics.Drawstring Pin
Björn T.J.M. Spruit21-Oct-09 23:04
Björn T.J.M. Spruit21-Oct-09 23:04 
AnswerRe: Text blurring using Graphics.Drawstring Pin
Björn T.J.M. Spruit22-Oct-09 1:54
Björn T.J.M. Spruit22-Oct-09 1:54 
GeneralRe: Text blurring using Graphics.Drawstring Pin
Covean22-Oct-09 2:15
Covean22-Oct-09 2:15 
GeneralRe: Text blurring using Graphics.Drawstring [modified] Pin
Björn T.J.M. Spruit22-Oct-09 2:54
Björn T.J.M. Spruit22-Oct-09 2:54 
GeneralRe: Text blurring using Graphics.Drawstring Pin
Covean22-Oct-09 3:18
Covean22-Oct-09 3:18 
GeneralRe: Text blurring using Graphics.Drawstring Pin
Björn T.J.M. Spruit22-Oct-09 3:27
Björn T.J.M. Spruit22-Oct-09 3:27 
NewsRe: Text blurring using Graphics.Drawstring Pin
Björn T.J.M. Spruit30-Oct-09 4:25
Björn T.J.M. Spruit30-Oct-09 4:25 
The plot thickens...
I was somewhat bored and still not satisfied with how the Graphics.DrawString() was working for me.
So I went on a Google hunt for some answers.

After looking around I came to a forum where a user had somewhat similar problems.
There he had linked a convo he had with a Microsoft MVP.
For more information please check this link:
http://social.msdn.microsoft.com/Forums/en-US/winforms/thread/362ab21b-1dc4-4140-a39a-a366beea9e40[^]

Quote:
"They couldn't fix the bugz in Graphics.DrawString() because way too much .NET 1.x code depended on its quirks. That's what Application.SetCompatibleTextRenderingDefault() is all about too. If you really want to use GDI+, you'll have to find the workarounds for the bugs yourself. Right now, using Graphics.DrawString() in a Paint event is a bug."

Quote:
"Graphics.DrawString() is too broken to be usable. It got replaced by TextRenderer.DrawText()."

To simplify things:
If you care for precision work, in particular with text rendering, then use the old GDI.
GDI+ is bugged and unusable for precision work.
If you don't care for precision work and you don't use text rendering (or very little of it or the quality isn't important), then use the new GDI+.
GeneralRe: Text blurring using Graphics.Drawstring Pin
User 680178026-Feb-10 8:05
User 680178026-Feb-10 8:05 
QuestionHow to pass any text value from form to Crystal Report ? Pin
E_Gold21-Oct-09 22:53
E_Gold21-Oct-09 22:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.