Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSVML > RSGdiPlusGraphics > Classes > TRSGPCanvas > Methods

TRSGPCanvas.RestoreState(TRSGPCanvasSaveState) Method

Scroll Prev Top Next More

Restores the current transformations, clipping region, and quality settings, as well as drawing and filling properties of the canvas to a saved state.

RestoreState restores a previous saved state of the canvas.

Call RestoreState to restore the drawing and filling properties to values saved in previous moments of the drawing process.

The State parameter specifies the pointer to the saved data. After the state is restored, the saved data are freed. If State is empty, RestoreState raises an exception.

To save the canvas state, call    SaveState.
 

Namespace: RSGdiPlusGraphics

Parameters

State

Type: TRSGPCanvasSaveState

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb