Show/Hide Toolbars

RiverSoftAVG Products Help

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

TRSGPCanvas.SaveCurrentState Method

Scroll Prev Top Next More

Saves the current GDI+ state (transformations, clipping region, and quality settings) of the canvas. Note that this does not include Fill, Stroke, or Font properties. To also save these properties, call      SaveState instead.

Call SaveCurrentState to save the drawing and filling properties in different moments of the drawing process.

SaveCurrentState returns a TRSGPSaveState object.

To restore the saved states, call RestoreCurrentState.
 

Namespace: RSGdiPlusGraphics

Return Value

Type: TRSGPSaveState

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb