Documents for Imaging, .NET Edition Documentation
GrapeCity.Documents.Common Assembly / GrapeCity.Documents.Text Namespace / FontWriter Class / SerializeFontToArray Method

In This Topic
    SerializeFontToArray Method
    In This Topic
    Creates a subset of the font containing the specified glyphs and serializes the subset to a byte array.
    Syntax
    'Declaration
     
    Public Function SerializeFontToArray( _
       ByVal font As Font, _
       ByVal glyphIDs As System.Collections.Generic.HashSet(Of UShort), _
       Optional ByVal canNotSubset As System.Boolean _
    ) As System.Byte()
    public System.byte[] SerializeFontToArray( 
       Font font,
       System.Collections.Generic.HashSet<ushort> glyphIDs,
       System.bool canNotSubset
    )

    Parameters

    font
    glyphIDs
    canNotSubset
    See Also