TcxCustomCanvas.RestoreState Method
Restores the last saved canvas state.
Declaration
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