Document Solutions for Imaging
DS.Documents.Imaging Assembly / GrapeCity.Documents.Text Namespace / FontWriter Class / CharsToArray Method / CharsToArray(Font,Utf32CodeSet,FontSubsetFlags) Method
The Font object to serialize.
A set of UTF-32 characters to be supported in the resulting font subset.
Font serialization options.

In This Topic
    CharsToArray(Font,Utf32CodeSet,FontSubsetFlags) Method
    In This Topic
    Creates a subset of the font containing the specified UTF-32 characters, then serializes the subset to a byte array.
    Syntax
    'Declaration
     
    Public Overloads Function CharsToArray( _
       ByVal font As Font, _
       ByVal utf32CodeSet As Utf32CodeSet, _
       Optional ByVal subsetFlags As FontSubsetFlags _
    ) As System.Byte()
    public System.byte[] CharsToArray( 
       Font font,
       Utf32CodeSet utf32CodeSet,
       FontSubsetFlags subsetFlags
    )

    Parameters

    font
    The Font object to serialize.
    utf32CodeSet
    A set of UTF-32 characters to be supported in the resulting font subset.
    subsetFlags
    Font serialization options.

    Return Value

    Binary data with the resulting font subset.
    See Also