CollectionFromFile Method
Loads all
Fonts from a specified font file.
public static System.int CollectionFromFile(
System.string ,
System.Collections.Generic.List<Font> ,
System.bool
)
'Declaration
Public Shared Function CollectionFromFile( _
ByVal As System.String, _
ByVal As System.Collections.Generic.List(Of Font), _
Optional ByVal As System.Boolean _
) As System.Integer
Parameters
- path
- The path to the file containing 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.