PhysicalFontInfoFontFamilyName Property |
Namespace: Aspose.Words.Fonts
// Add a new folder source which will instruct Aspose.Words to search the following folder for fonts FontSourceBase[] folderFontSource = { new FolderFontSource(FontsDir, true) }; foreach (PhysicalFontInfo fontInfo in folderFontSource[0].GetAvailableFonts()) { Console.WriteLine("FontFamilyName : {0}", fontInfo.FontFamilyName); Console.WriteLine("FullFontName : {0}", fontInfo.FullFontName); Console.WriteLine("Version : {0}", fontInfo.Version); Console.WriteLine("FilePath : {0}\n", fontInfo.FilePath); }