---
title: "ICanvasRenderingContext2D.Restore"
url: "https://reference.aspose.com/html/net/aspose.html.dom.canvas/icanvasrenderingcontext2d/restore/"
product: "Aspose.HTML for .NET API Reference"
description: "ICanvasRenderingContext2D Restore method. Restores the drawing style state to the last element on the state stack saved by save"
---

## ICanvasRenderingContext2D.Restore method

Restores the drawing style state to the last element on the 'state stack' saved by save().

```csharp
public void Restore()
```

### See Also

* interface [ICanvasRenderingContext2D](../)
* namespace [Aspose.Html.Dom.Canvas](../../../aspose.html.dom.canvas/)
* assembly [Aspose.HTML](../../../)
