DioDocs for PDF
CollectionFromFile メソッド

DS.Documents.Imaging アセンブリ > GrapeCity.Documents.Text 名前空間 > Font クラス : CollectionFromFile メソッド
The path to the file containing the font data.
The destination list of fonts. It must be initialized beforehand.
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 font file.
シンタックス
'宣言
 
Public Shared Function CollectionFromFile( _
   ByVal path As System.String, _
   ByVal fonts As System.Collections.Generic.List(Of Font), _
   Optional ByVal initCodeMap As System.Boolean _
) As System.Integer
public static System.int CollectionFromFile( 
   System.string path,
   System.Collections.Generic.List<Font> fonts,
   System.bool initCodeMap
)

パラメータ

path
The path to the file containing the font data.
fonts
The destination list of fonts. It must be initialized beforehand.
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 メンバ