## Graphics::Restore method


Restores the state of this object from the saved state.

```cpp
void System::Drawing::Graphics::Restore(const SharedPtr<Drawing2D::GraphicsState> &graphicsState)
```


| Parameter | Type | Description |
| --- | --- | --- |
| graphicsState | const SharedPtr\<Drawing2D::GraphicsState\>\& | The state to restore from |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [GraphicsState](../../../system.drawing.drawing2d/graphicsstate/)
* Class [Graphics](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.PDF for C++](../../../)
