Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Text Namespace / Font Class / FromStream Method / FromStream(Stream,String,Int32) Method
The stream containing the font data.
The full font name to be loaded.
The number of bytes to read from the stream; -1 causes reading till the end of stream.

In This Topic
    FromStream(Stream,String,Int32) Method
    In This Topic
    Loads a Font with given full font name from a specified stream.
    Syntax
    'Declaration
     
    Public Overloads Shared Function FromStream( _
       ByVal stream As System.IO.Stream, _
       ByVal fullFontName As System.String, _
       Optional ByVal bytesToRead As System.Integer _
    ) As Font
    public static Font FromStream( 
       System.IO.Stream stream,
       System.string fullFontName,
       System.int bytesToRead
    )

    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.
    See Also