RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPenRecall Class

TPenRecall saves and restores the properties of a TPen object.

Pascal
TPenRecall = class(TRecall);
C++
class TPenRecall : public TRecall;

Graphics

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

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

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!