public static AddFileFont ( string filename ) : void | ||
filename | string | The path of the file |
Résultat | void |
public static void AddFileFont(string filename)
{
if (_loadedPaths.Contains(filename)) return;
AddFont(File.OpenRead(filename));
NativeMethods.AddFontResourceEx(filename, 0x10, IntPtr.Zero);
}