CollectionFromArray Method
Loads all
Fonts from a byte array containing single font or a font collection.
public static System.int CollectionFromArray(
System.byte[] ,
System.Collections.Generic.List<Font> ,
System.bool
)
'Declaration
Public Shared Function CollectionFromArray( _
ByVal () As System.Byte, _
ByVal As System.Collections.Generic.List(Of Font), _
Optional ByVal As System.Boolean _
) As System.Integer
Parameters
- fontData
- The byte array with the font data.
- fonts
- The destination list of fonts. It must be initialized beforehand.
- initCodeMap
- Set this parameter to True if you're planning to add the loaded fonts to the fallback font collection.
Return Value
The number of loaded fonts.