Vcl.Graphics.TFontRecall.Create
Delphi
constructor Create(AFont: TFont);
C++
__fastcall TFontRecall(TFont* AFont);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
constructor | public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TFontRecall |
説明
TFontRecall オブジェクトのインスタンスを作成します。
Create メソッドを呼び出すと,実行時にフォントリコールオブジェクトをインスタンス化できます。Create は,AFont で指定された TFont オブジェクトの現在のプロパティを保存します。これが Reference プロパティの値になります。
その後,Store メソッドを呼び出すと AFont のプロパティのスナップショットが保存され,コンストラクタによって保存された値と置き換えられます。TFontRecall インスタンスを破棄すると,最も新しく保存されたプロパティが AFont に割り当てられ,以前の状態に戻ります。