Bitmap for WPF
CreateStreamFromKey メソッド (FontFileLoader)

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.DirectWrite 名前空間 > FontFileLoader インターフェース : CreateStreamFromKey メソッド
A reference to a font file reference key that uniquely identifies the font file resource within the scope of the font loader being used. The buffer allocated for this key must at least be the size, in bytes, specified by fontFileReferenceKeySize.
Creates a font file stream object that encapsulates an open file resource.
シンタックス
'宣言
 
Function CreateStreamFromKey( _
   ByVal fontFileReferenceKey As DataPointer _
) As FontFileStream
FontFileStream CreateStreamFromKey( 
   DataPointer fontFileReferenceKey
)

パラメータ

fontFileReferenceKey
A reference to a font file reference key that uniquely identifies the font file resource within the scope of the font loader being used. The buffer allocated for this key must at least be the size, in bytes, specified by fontFileReferenceKeySize.

戻り値の型

a reference to the newly created FontFileStreamobject.
解説
The resource is closed when the last reference to fontFileStream is released.
参照

FontFileLoader インターフェース
FontFileLoader メンバ