TcxCustomCanvas.RestoreState Method
In This Article
Restores the last saved canvas state.
#Declaration
Delphi
procedure RestoreState; virtual; abstract;
#Remarks
The canvas state includes draw-related settings (such as the current brush, pen, font, etc.) and an associated device context. A canvas can store multiple states in a stack. Call the SaveState procedure to save the current canvas state for future use. A consequent RestoreState procedure call restores all saved canvas settings.
See Also