Documents for PDF, .NET Edition Documentation
FromFile(String,String) Method

GrapeCity.Documents.Common Assembly > GrapeCity.Documents.Text Namespace > Font Class > FromFile Method : FromFile(String,String) Method
The path to the file containing the font data.
The full font name to be loaded.
Loads a Font with given full font name from a specified file.
Syntax
'Declaration
 
Public Overloads Shared Function FromFile( _
   ByVal path As System.String, _
   ByVal fullFontName As System.String _
) As Font
public static Font FromFile( 
   System.string path,
   System.string fullFontName
)

Parameters

path
The path to the file containing the font data.
fullFontName
The full font name to be loaded.

Return Value

The newly created font.
See Also

Reference

Font Class
Font Members
Overload List