[]
Measures the text string with the currently selected font.
public SizeF MeasureText(string strText)
Type | Name | Description |
---|---|---|
string | strText | The text string to measure. |
Type | Description |
---|---|
SizeF |
Measures the text string.
public SizeF MeasureText(string strText, Font font)
Type | Name | Description |
---|---|---|
string | strText | The text to measure. |
Font | font |
Type | Description |
---|---|
SizeF |