DioDocs for PDF
RegisterFont メソッド

DS.Documents.Imaging アセンブリ > GrapeCity.Documents.Text 名前空間 > FontCollection クラス : RegisterFont メソッド
Path to the source font file.
Specifies if all the registered fonts should be added to the fallback font collection.
Appends all fonts from the specified font file to the collection.
シンタックス
'宣言
 
Public Function RegisterFont( _
   ByVal fontPath As System.String, _
   Optional ByVal addToFallbacks As System.Boolean _
) As System.Integer
public System.int RegisterFont( 
   System.string fontPath,
   System.bool addToFallbacks
)

パラメータ

fontPath
Path to the source font file.
addToFallbacks
Specifies if all the registered fonts should be added to the fallback font collection.

戻り値の型

The number of registered fonts.
参照

FontCollection クラス
FontCollection メンバ