Vcl.AxCtrls.TFontAdapter.GetOleFont
Delphi
procedure GetOleFont(var OleFont: IFontDisp);
C++
void __fastcall GetOleFont(_di_IFontDisp &OleFont);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
protected | Vcl.AxCtrls.pas Vcl.AxCtrls.hpp |
Vcl.AxCtrls | TFontAdapter |
説明
関連する OLE オブジェクトから IFontDisp インターフェースを取得します。
TFontAdapter を使用する ActiveX コントロールは GetOleFont メソッドを呼び出して,アダプタの TFont オブジェクトに対応するインターフェースを取得します。フォントの OLE オブジェクトが存在しない場合,GetOleFont が作成します。
IFontDisp インターフェースは,OleFont パラメータで返されます。