## Graphics.Restore method

Restores the state of this [`Graphics`](../) to the state represented by a [`GraphicsState`](../../../system.drawing.drawing2d/graphicsstate/).

```csharp
public void Restore(GraphicsState gstate)
```

| Parameter | Type | Description |
| --- | --- | --- |
| gstate | GraphicsState | The gstate. |

### See Also

* class [GraphicsState](../../../system.drawing.drawing2d/graphicsstate/)
* class [Graphics](../)
* namespace [System.Drawing](../../graphics/)
* assembly [Aspose.Drawing](../../../)


