PhysicalFontInfo Class |
Namespace: Aspose.Words.Fonts
The PhysicalFontInfo type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | FilePath |
Path to the font file if any.
|
![]() ![]() | FontFamilyName |
Family name of the font.
|
![]() ![]() | FullFontName |
Full name of the font.
|
![]() ![]() | Version |
Version string of the font.
|
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
// 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); }