xtd::drawing::font::font | ( | xtd::string | family_name, |
float | em_size | ||
) |
Initializes a new xtd::drawing::font using the specified size and unit.
family_name | A string representation of the font_family for the new xtd::drawing::font. |
em_size | The em-size of the new font in the units specified by the unit parameter. |
std::invalid_param | emSize is less than or equal to 0, evaluates to infinity, or is not a valid number. |