DioDocs for PDF
RegisterDirectory メソッド

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

パラメータ

folderPath
Path to the source directory with fonts.
addToFallbacks
Specifies if all the registered fonts should be added to the fallback font collection.

戻り値の型

The number of registered fonts.
参照

FontCollection クラス
FontCollection メンバ