Click here to Skip to main content
15,896,154 members
Home / Discussions / C#
   

C#

 
GeneralTableLayoutPanel (Whidbey) Pin
Gregory Bush4-May-05 7:18
Gregory Bush4-May-05 7:18 
GeneralRe: TableLayoutPanel (Whidbey) Pin
Judah Gabriel Himango4-May-05 8:14
sponsorJudah Gabriel Himango4-May-05 8:14 
GeneralAppDomain Pin
pgoel764-May-05 6:04
pgoel764-May-05 6:04 
Generalgetting the ONLY the Filename from FileInfo Pin
Green Fuze4-May-05 5:43
Green Fuze4-May-05 5:43 
GeneralRe: getting the ONLY the Filename from FileInfo Pin
Claudio Grazioli4-May-05 5:56
Claudio Grazioli4-May-05 5:56 
GeneralRe: getting the ONLY the Filename from FileInfo Pin
Green Fuze4-May-05 11:32
Green Fuze4-May-05 11:32 
GeneralMy EllipseLabel - wrapping text question Pin
Anonymous4-May-05 5:25
Anonymous4-May-05 5:25 
GeneralRe: My EllipseLabel - wrapping text question Pin
keith maddox4-May-05 9:56
keith maddox4-May-05 9:56 
Hi, you can use MeasureString to give you the length of the string in drawing units (pixels) and compare the width of your control - border (or just client width if there is not an NC portion). Then of course, just extend the height of your control by the height of the current font, split, and wrap the line.

You can get the font height with the Font property and call its Height property but make sure you use your graphics object's MeasureString method to get the length of the string in question.

hope that is enough detail for you, if not let me know and i'll try to help further.



GeneralRe: My EllipseLabel - wrapping text question Pin
ICustomTypeDescriptor4-May-05 11:00
ICustomTypeDescriptor4-May-05 11:00 
GeneralSMS from a website Pin
Trance Junkie4-May-05 4:15
Trance Junkie4-May-05 4:15 
GeneralRe: SMS from a website Pin
Judah Gabriel Himango4-May-05 8:17
sponsorJudah Gabriel Himango4-May-05 8:17 
GeneralRe: SMS from a website Pin
Shashidharreddy6-May-05 23:15
Shashidharreddy6-May-05 23:15 
GeneralICustomTypeDescriptor - implementation Pin
Anonymous4-May-05 3:45
Anonymous4-May-05 3:45 
GeneralRe: ICustomTypeDescriptor - implementation Pin
Anonymous4-May-05 4:48
Anonymous4-May-05 4:48 
GeneralRe: ICustomTypeDescriptor - implementation Pin
Anonymous4-May-05 5:10
Anonymous4-May-05 5:10 
GeneralRe: ICustomTypeDescriptor - implementation Pin
Mathew Hall4-May-05 15:48
Mathew Hall4-May-05 15:48 
Questionhow to convert text inro rtf and display the same in a richtextbox?? Pin
reachme_saurabh4-May-05 3:27
reachme_saurabh4-May-05 3:27 
AnswerRe: how to convert text inro rtf and display the same in a richtextbox?? Pin
Judah Gabriel Himango4-May-05 4:33
sponsorJudah Gabriel Himango4-May-05 4:33 
GeneralRe: how to convert text inro rtf and display the same in a richtextbox?? Pin
Anonymous4-May-05 20:18
Anonymous4-May-05 20:18 
GeneralRe: how to convert text inro rtf and display the same in a richtextbox?? Pin
Judah Gabriel Himango5-May-05 4:06
sponsorJudah Gabriel Himango5-May-05 4:06 
GeneralDirectShow with C# Pin
rajshukla1234-May-05 3:18
rajshukla1234-May-05 3:18 
GeneralRe: DirectShow with C# Pin
MoustafaS4-May-05 4:09
MoustafaS4-May-05 4:09 
GeneralRe: DirectShow with C# Pin
Judah Gabriel Himango4-May-05 4:32
sponsorJudah Gabriel Himango4-May-05 4:32 
GeneralCustomLabel class deriving from Label and CustomBehaviuor classes Pin
Anonymous4-May-05 2:46
Anonymous4-May-05 2:46 
GeneralRe: CustomLabel class deriving from Label and CustomBehaviuor classes Pin
MoustafaS4-May-05 2:59
MoustafaS4-May-05 2:59 

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.