void xtd::drawing::graphics::draw_string | ( | const xtd::string & | s, |
const xtd::drawing::font & | font, | ||
const xtd::drawing::brush & | brush, | ||
const xtd::drawing::point_f & | point, | ||
const xtd::drawing::string_format & | format | ||
) |
Draws the specified text string at the specified location with the specified xtd::drawing::brush and xtd::drawing::font objects using the formatting attributes of the specified xtd::drawing::string_format.
s | String to draw. |
font | xtd::drawing::font that defines the text format of the string. |
brush | xtd::drawing::brush that determines the color and texture of the drawn text. |
point | xtd::drawing::point_f structure that specifies the upper-left corner of the drawn text. |
format | xtd::drawing::string_format that specifies formatting attributes, such as line spacing and alignment, that are applied to the drawn text. |