[]
        
Loads all Fonts from a byte array containing single font or a font collection.
public static int CollectionFromArray(byte[] fontData, List<Font> fonts, bool initCodeMap = false)
Public Shared Function CollectionFromArray(fontData As Byte(), fonts As List(Of Font), Optional initCodeMap As Boolean = False) As Integer
| Type | Name | Description | 
|---|---|---|
| byte[] | fontData | The byte array with the font data.  | 
    
| List<Font> | fonts | The destination list of fonts. It must be initialized beforehand.  | 
    
| bool | initCodeMap | Set this parameter to True if you're planning to add the loaded fonts to the fallback font collection.  | 
    
| Type | Description | 
|---|---|
| int | The number of loaded fonts.  |