Метод | Описание | |
---|---|---|
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. | |
Результат |
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 |
Результат |