Version

GetFontName Method

Gets the font name associated with an ISO 15924 four-letter script code.
Syntax
'Declaration
 
Public Function GetFontName( _
   ByVal scriptCode As String _
) As String
public string GetFontName( 
   string scriptCode
)

Parameters

scriptCode
The four-letter ISO 15924 script code.

Return Value

The font name associated with an ISO 15924 four-letter script code or null if the script code does not have a mapping.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionOccurs when scriptCode is null.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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