size_f xtd::drawing::graphics::measure_string | ( | const xtd::string & | text, |
const xtd::drawing::font & | font, | ||
int32 | width | ||
) |
Measures the specified string when drawn with the specified xtd::drawing::font.
text | xtd::string to measure. |
font | xtd::drawing::font that defines the text format of the string. |
width | Maximum width of the string in pixels. |