Bitmap for WPF
GetFiles() メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.DirectWrite 名前空間 > FontFace クラス > GetFiles メソッド : GetFiles() メソッド
Obtains the font files representing a font face.
シンタックス
'宣言
 
Public Overloads Function GetFiles() As FontFile()
public FontFile[] GetFiles()

戻り値の型

An array that stores references to font files representing the font face. This parameter can be NULL if the user wants only the number of files representing the font face. This API increments reference count of the font file references returned according to COM conventions, and the client should release them when finished.
解説
The IDWriteFontFace::GetFiles method should be called twice. The first time you call GetFilesfontFiles should be NULL. When the method returns, numberOfFiles receives the number of font files that represent the font face. Then, call the method a second time, passing the numberOfFiles value that was output the first call, and a non-null buffer of the correct size to store the FontFilereferences.
参照

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