Show/Hide Toolbars

RiverSoftAVG Products Help

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

TRSGPCanvas.RestoreCurrentState(TRSGPSaveState) Method

Scroll Prev Top Next More

Restores the current transformations, clipping region, and quality settings of the canvas to a saved state.

RestoreCurrentState restores a previous saved state of the canvas.

Call RestoreCurrentState to restore the drawing and filling properties (excluding the Stroke, Fill, and Font 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, RestoreCurrentState raises an exception.

To save the canvas state, call    SaveCurrentState.
 

Namespace: RSGdiPlusGraphics

Parameters

State

Type: System.Void

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb