Skip to main content
Pie
ra0

TcxCanvas.RestoreDC Method

Restores the last saved device context.

Declaration

procedure RestoreDC;

Remarks

The GDI-based canvas maintains a stack of device contexts. Call the SaveDC procedure to save one or more device contexts for future use and lock the canvas. A consequent RestoreDC procedure restores the last saved device context and unlocks the canvas.

See Also