Method | Description | |
---|---|---|
GetBestSize ( |
Measure a multiline string for a Control http://www.mobilepractices.com/2008/01/making-multiline-measurestring-work.html
|
|
GetBestSize ( |
Measure a multiline string
|
public static GetBestSize ( |
||
control | control | |
text | string | string to measure |
rect | Original rect. The width will be taken as fixed. | |
return |
public static GetBestSize ( |
||
gr | Graphics | |
text | string | string to measure |
rect | Original rect. The width will be taken as fixed. | |
textboxControl | bool | True if you want to measure the string for a textbox control |
return |