Vcl.Graphics.TFontRecall

From RAD Studio API Documentation
Jump to: navigation, search

System.Classes.TRecallSystem.TObjectTFontRecall

Delphi

TFontRecall = class(TRecall)

C++

class PASCALIMPLEMENTATION TFontRecall : public System::Classes::TRecall

Properties

Type Visibility Source Unit Parent
class public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics Vcl.Graphics

Description

TFontRecall saves and restores the properties of a TFont object.

Use TFontRecall to store the current state of a TFont object. You are then free to change the current state of the font object. To restore the font object to its original state, all that is necessary is to free the TFontRecall object and the TFont object is automatically restored to the saved property values.

You can update the TFontRecall instance to reflect the current properties of the TFont object by calling the Store method. You can prevent the TFontRecall destructor from updating the TFont object by calling the Forget method.

See Also