size_f xtd::drawing::graphics::measure_string | ( | const xtd::string & | text, |
const xtd::drawing::font & | font, | ||
const xtd::drawing::size_f & | layout_area | ||
) |
Measures the specified string when drawn with the specified xtd::drawing::font within the specified layout area.
text | xtd::string to measure. |
font | xtd::drawing::font that defines the text format of the string. |
layout_area | xtd::drawing::size_f structure that specifies the maximum layout area for the text. |