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

In This Topic
    SerializeFontToStream Method
    In This Topic
    Writes a subset of the font containing the specified glyphs to the stream.
    Syntax
    'Declaration
     
    Public Function SerializeFontToStream( _
       ByVal stream As System.IO.Stream, _
       ByVal font As Font, _
       ByVal glyphIDs As System.Collections.Generic.HashSet(Of UShort), _
       Optional ByVal canNotSubset As System.Boolean _
    ) As System.Integer
    public System.int SerializeFontToStream( 
       System.IO.Stream stream,
       Font font,
       System.Collections.Generic.HashSet<ushort> glyphIDs,
       System.bool canNotSubset
    )

    Parameters

    stream
    font
    glyphIDs
    canNotSubset

    Return Value

    The number of bytes saved to the stream.
    See Also