xtd::drawing::font_family::font_family | ( | const xtd::string & | name, |
const text::font_collection & | font_collection | ||
) |
Initializes a new xtd::drawing::font_family in the specified font_collection with the specified name.
name | The name of the new xtd::drawing::font_family. |
font_collection | The FontCollection that contains this FontFamily. |
std::invalid_argument | name is an empty string ("") - or - name specifies a font that is not installed on the computer running the application - or - name specifies a font that is not a part of specified font_collection.. |