LoadCustomFamilyData() 공개 메소드

Replaces the Fonts custom font family with a new dataset that has been retrieved from file.
public LoadCustomFamilyData ( string path = null ) : void
path string The path of the file from which to retrieve the new font family data.
리턴 void
예제 #1
0
 public void ImportFile(string srcFile, string targetName, string targetDir)
 {
     string[] output = this.GetOutputFiles(srcFile, targetName, targetDir);
     Font res = new Font();
     res.LoadCustomFamilyData(srcFile);
     res.ReloadData();
     res.Save(output[0]);
 }