void xtd::drawing::text::private_font_collection::add_font_file | ( | const xtd::string & | filename | ) |
Adds a font from the specified file to this xtd::drawing::text::private_font_collection.
filename | A string that contains the file name of the font to add. |
std::invalid_argument | The specified font is not supported or the font file cannot be found. |