Xceed Words for .NET v4.0 Documentation
FromFile Method (Font)


Xceed.Drawing.NET Assembly > Xceed.Drawing Namespace > Font Class : FromFile Method
The file that will be used to get the Font's Name.
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

Reference

Font Class
Font Members