This topic has not yet been rated - Rate this topic

save method

Saves the state of the current context.

HTML Canvas 2D Context, Section 2Internet Explorer 9

Syntax


HRESULT retVal = object.save();

Parameters

This method has no parameters.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Standards information

Remarks

The ICanvasRenderingContext2D::save and ICanvasRenderingContext2D::restore methods preserve and restore the state of a context, but not specific paths or graphics. The following attributes and states are affected:

See also

ICanvasRenderingContext2D::restore

 

 

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.