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

DS.Documents.Imaging アセンブリ > GrapeCity.Documents.Text 名前空間 > Font クラス > FromStream メソッド : FromStream(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.
Set this parameter to True if you're planning to add the font to the fallback font collection.
Loads a Font from the specified stream.
シンタックス
'宣言
 
Public Overloads Shared Function FromStream( _
   ByVal stream As System.IO.Stream, _
   Optional ByVal bytesToRead As System.Integer, _
   Optional ByVal initCodeMap As System.Boolean _
) As Font
public static Font FromStream( 
   System.IO.Stream stream,
   System.int bytesToRead,
   System.bool initCodeMap
)

パラメータ

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.
initCodeMap
Set this parameter to True if you're planning to add the font to the fallback font collection.

戻り値の型

The newly created font, or null if the stream did not contain any fonts.
参照

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