xtd 0.2.0
Loading...
Searching...
No Matches

◆ add_font_file()

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.

Parameters
filenameA string that contains the file name of the font to add.
Exceptions
std::invalid_argumentThe specified font is not supported or the font file cannot be found.