Documents for PDF, .NET Edition Documentation
SerializeFontToArray Method

GrapeCity.Documents.Common Assembly > GrapeCity.Documents.Text Namespace > FontWriter Class : SerializeFontToArray Method
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

Reference

FontWriter Class
FontWriter Members