DS.Documents.Imaging Assembly / GrapeCity.Documents.Text Namespace / FontWriter Class / CharsToStream Method / CharsToStream(Stream,Font,Utf32CodeSet,FontSubsetFlags) Method
The destination Stream object.
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
CharsToStream(Stream,Font,Utf32CodeSet,FontSubsetFlags) Method
In This Topic
Writes a subset of the font containing the specified UTF-32 characters to a stream.
Syntax
'Declaration
 
Public Overloads Function CharsToStream( _
   ByVal stream As System.IO.Stream, _
   ByVal font As Font, _
   ByVal utf32CodeSet As Utf32CodeSet, _
   Optional ByVal subsetFlags As FontSubsetFlags _
) As System.Integer
 

Parameters

stream
The destination Stream object.
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

The number of bytes saved to the stream.
See Also