Document Solutions for PDF
DS.Documents.Imaging 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.

In This Topic
    FromFile(String,String) Method
    In This Topic
    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