Documents for Imaging .NET Edition | GCDocuments
GrapeCity.Documents.Common Assembly / GrapeCity.Documents.Text Namespace / Font Class / FromArray Method / FromArray(Byte[],Boolean) Method
The byte array with the font data.
Set this parameter to True if you're planning to add the font to the fallback font collection.

In This Topic
    FromArray(Byte[],Boolean) Method
    In This Topic
    Loads the first Font from a byte array.
    Syntax
    'Declaration
     
    Public Overloads Shared Function FromArray( _
       ByVal fontData() As System.Byte, _
       Optional ByVal initCodeMap As System.Boolean _
    ) As Font
    public static Font FromArray( 
       System.byte[] fontData,
       System.bool initCodeMap
    )

    Parameters

    fontData
    The byte array with the font data.
    initCodeMap
    Set this parameter to True if you're planning to add the font to the fallback font collection.

    Return Value

    The newly created font, or null if the file did not contain any fonts.
    See Also