DioDocs for PDF
LoadFonts(Stream,Int32,Boolean) メソッド

DS.Documents.Imaging アセンブリ > GrapeCity.Documents.Text 名前空間 > FontCollection クラス > LoadFonts メソッド : LoadFonts(Stream,Int32,Boolean) メソッド
The stream containing the font data.
The number of bytes to read from the stream; -1 causes reading till the end of stream.
Specifies if all the registered fonts should be added to the fallback font collection.
Loads all fonts from the specified stream into the collection.

Use the RegisterFont method if there is a font file.

シンタックス
'宣言
 
Public Overloads Function LoadFonts( _
   ByVal stream As System.IO.Stream, _
   Optional ByVal bytesToRead As System.Integer, _
   Optional ByVal addToFallbacks As System.Boolean _
) As System.Integer
public System.int LoadFonts( 
   System.IO.Stream stream,
   System.int bytesToRead,
   System.bool addToFallbacks
)

パラメータ

stream
The stream containing the font data.
bytesToRead
The number of bytes to read from the stream; -1 causes reading till the end of stream.
addToFallbacks
Specifies if all the registered fonts should be added to the fallback font collection.

戻り値の型

The number of loaded fonts.
参照

FontCollection クラス
FontCollection メンバ
オーバーロード一覧