FromStream(Stream,String,Int32) Method
Loads a
Font with given full font name from a specified stream.
public static Font FromStream(
System.IO.Stream ,
System.string ,
System.int
)
'Declaration
Public Overloads Shared Function FromStream( _
ByVal As System.IO.Stream, _
ByVal As System.String, _
Optional ByVal As System.Integer _
) As Font
Parameters
- stream
- The stream containing the font data.
- fullFontName
- The full font name to be loaded.
- bytesToRead
- The number of bytes to read from the stream; -1 causes reading till the end of stream.
Return Value
The newly created font.