'Declaration Public Overloads Function LoadFonts( _ ByVal stream As System.IO.Stream, _ Optional ByVal bytesToRead As System.Integer, _ Optional ByVal addToFallbacks As System.Boolean _ ) As System.Integer
public System.int LoadFonts( System.IO.Stream stream, System.int bytesToRead, System.bool addToFallbacks )
Parameters
- stream
- The stream containing the font data.
- bytesToRead
- The number of bytes to read from the stream; -1 causes reading till the end of stream.
- addToFallbacks
- Specifies if all the registered fonts should be added to the fallback font collection.
Return Value
The number of loaded fonts.