## Graphics::EndContainer method


关闭当前容器并从已保存容器的状态恢复此对象的状态。

```cpp
void System::Drawing::Graphics::EndContainer(const SharedPtr<Drawing2D::GraphicsContainer> &container)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 容器 | const SharedPtr\<Drawing2D::GraphicsContainer\>\& | 用于恢复状态的容器 |

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [GraphicsContainer](../../../system.drawing.drawing2d/graphicscontainer/)
* Class [Graphics](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Font for C++](../../../)
