Click here to Skip to main content
15,893,564 members
Home / Discussions / C#
   

C#

 
AnswerRe: Saving text manipulated data Pin
Casper Hansen3-May-08 14:48
Casper Hansen3-May-08 14:48 
QuestionThreading events Pin
MarkB7772-May-08 16:56
MarkB7772-May-08 16:56 
AnswerRe: Threading events Pin
Christian Graus2-May-08 17:06
protectorChristian Graus2-May-08 17:06 
AnswerRe: Threading events Pin
Charith Jayasundara3-May-08 6:51
Charith Jayasundara3-May-08 6:51 
QuestionText bounds problem Pin
Richard Blythe2-May-08 10:47
Richard Blythe2-May-08 10:47 
AnswerRe: Text bounds problem Pin
Luc Pattyn2-May-08 12:05
sitebuilderLuc Pattyn2-May-08 12:05 
GeneralRe: Text bounds problem Pin
Richard Blythe3-May-08 4:12
Richard Blythe3-May-08 4:12 
GeneralRe: Text bounds problem Pin
Luc Pattyn3-May-08 4:31
sitebuilderLuc Pattyn3-May-08 4:31 
Hi,

your example wasn't clear to me, you did not show the values you got for s1 and s2;
and I don't know whether wrapping occurs or not.

If you allow for a few spare pixels, in my experience MeasureString very well predicts
what DrawString will do, provided you give them the exact same job (string, font, width,
etc). (There is at least one CP article explaining minor errors in MeasureString, hence
the spare pixels; these errors never bothered me).

If you need more help, please provide more details, actual values; also I suggest you
look at the DrawString results, and if relevant show it to us too.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

I dislike the black-and-white voting system on questions/answers. Dead | X|


QuestionDynamic file reading Pin
ffowler2-May-08 9:45
ffowler2-May-08 9:45 
AnswerRe: Dynamic file reading Pin
PIEBALDconsult2-May-08 10:50
mvePIEBALDconsult2-May-08 10:50 
AnswerRe: Dynamic file reading Pin
Adeel Chaudhry2-May-08 11:13
Adeel Chaudhry2-May-08 11:13 
AnswerRe: Dynamic file reading Pin
Charith Jayasundara3-May-08 6:48
Charith Jayasundara3-May-08 6:48 
QuestionHelp with reading text files Pin
False Chicken2-May-08 9:38
False Chicken2-May-08 9:38 
AnswerRe: Help with reading text files Pin
Gareth H2-May-08 10:50
Gareth H2-May-08 10:50 
AnswerRe: Help with reading text files Pin
PIEBALDconsult2-May-08 10:52
mvePIEBALDconsult2-May-08 10:52 
AnswerRe: Help with reading text files Pin
Adeel Chaudhry2-May-08 11:08
Adeel Chaudhry2-May-08 11:08 
AnswerRe: Help with reading text files Pin
Christian Graus2-May-08 12:52
protectorChristian Graus2-May-08 12:52 
Question.Net COM interop challenge Pin
Jason McBurney2-May-08 8:48
Jason McBurney2-May-08 8:48 
AnswerRe: .Net COM interop challenge Pin
PIEBALDconsult2-May-08 10:53
mvePIEBALDconsult2-May-08 10:53 
AnswerRe: .Net COM interop challenge Pin
Adeel Chaudhry2-May-08 11:11
Adeel Chaudhry2-May-08 11:11 
GeneralRe: .Net COM interop challenge Pin
Jason McBurney2-May-08 11:35
Jason McBurney2-May-08 11:35 
GeneralRe: .Net COM interop challenge Pin
Adeel Chaudhry3-May-08 0:22
Adeel Chaudhry3-May-08 0:22 
AnswerRe: .Net COM interop challenge Pin
Jason McBurney5-May-08 8:57
Jason McBurney5-May-08 8:57 
Questionpinvoke to send text in a console app Pin
jpeternel2-May-08 7:30
jpeternel2-May-08 7:30 
AnswerRe: pinvoke to send text in a console app Pin
jpeternel2-May-08 7:30
jpeternel2-May-08 7:30 

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.