Xceed Words for .NET v5.0 Documentation
Xceed.Drawing.NET Assembly / Xceed.Drawing Namespace / Font Class / FromFile Method
The file that will be used to get the Font's Name.


In This Topic
    FromFile Method (Font)
    In This Topic
    Gets the Font's Name from a font file & then returns it.
    Syntax
    'Declaration
     
    Public Shared Function FromFile( _
       ByVal file As String _
    ) As String
    'Usage
     
    Dim file As String
    Dim value As String
     
    value = Font.FromFile(file)
    public static string FromFile( 
       string file
    )

    Parameters

    file
    The file that will be used to get the Font's Name.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also