[]
        
Loads the first Font from a byte array.
public static Font FromArray(byte[] fontData, bool initCodeMap = false)
Public Shared Function FromArray(fontData As Byte(), Optional initCodeMap As Boolean = False) As Font
| Type | Name | Description | 
|---|---|---|
| byte[] | fontData | The byte array with the font data.  | 
    
| bool | initCodeMap | Set this parameter to True if you're planning to add the font to the fallback font collection.  | 
    
| Type | Description | 
|---|---|
| Font | The newly created font, or null if the file did not contain any fonts.  | 
    
Loads a Font with given full font name from a byte array.
public static Font FromArray(byte[] fontData, string fullFontName)
Public Shared Function FromArray(fontData As Byte(), fullFontName As String) As Font
| Type | Name | Description | 
|---|---|---|
| byte[] | fontData | The byte array with the font data.  | 
    
| string | fullFontName | The full font name to be loaded.  | 
    
| Type | Description | 
|---|---|
| Font | The newly created font.  |