DioDocs for PDF
CollectionFromStream メソッド

GrapeCity.Documents.Imaging アセンブリ > GrapeCity.Documents.Text 名前空間 > Font クラス : CollectionFromStream メソッド
The stream containing the font data.
The destination list of fonts. It must be initialized beforehand.
The number of bytes to read from the stream; -1 causes reading till the end of stream.
Set this parameter to True if you're planning to add the loaded fonts to the fallback font collection.
Loads all Fonts from a specified stream containing single font or a font collection.
シンタックス
'宣言
 
Public Shared Function CollectionFromStream( _
   ByVal stream As System.IO.Stream, _
   ByVal fonts As System.Collections.Generic.List(Of Font), _
   Optional ByVal bytesToRead As System.Integer, _
   Optional ByVal initCodeMap As System.Boolean _
) As System.Integer
public static System.int CollectionFromStream( 
   System.IO.Stream stream,
   System.Collections.Generic.List<Font> fonts,
   System.int bytesToRead,
   System.bool initCodeMap
)

パラメータ

stream
The stream containing the font data.
fonts
The destination list of fonts. It must be initialized beforehand.
bytesToRead
The number of bytes to read from the stream; -1 causes reading till the end of stream.
initCodeMap
Set this parameter to True if you're planning to add the loaded fonts to the fallback font collection.

戻り値の型

The number of loaded fonts.
参照

Font クラス
Font メンバ