System::Drawing::Graphics::BeginContainer 方法

Graphics::BeginContainer() method

保存一个包含此对象当前状态的容器,打开并使用一个新容器,然后返回已保存的容器。

SharedPtr<Drawing2D::GraphicsContainer> System::Drawing::Graphics::BeginContainer()

另见

Graphics::BeginContainer(Rectangle, Rectangle, GraphicsUnit) method

保存一个包含此对象当前状态的容器,打开并使用一个新容器,然后返回已保存的容器。

SharedPtr<Drawing2D::GraphicsContainer> System::Drawing::Graphics::BeginContainer(Rectangle dstrect, Rectangle srcrect, GraphicsUnit unit)
参数类型描述
dstrect矩形指定新容器的比例变换的矩形。与 srcrect 一起使用。
srcrect矩形指定新容器的比例变换的矩形。与 dstrect 一起使用。
单位GraphicsUnit指定新容器度量单位的值

另见

Graphics::BeginContainer(RectangleF, RectangleF, GraphicsUnit) method

保存一个包含此对象当前状态的容器,打开并使用一个新容器,然后返回已保存的容器。

SharedPtr<Drawing2D::GraphicsContainer> System::Drawing::Graphics::BeginContainer(RectangleF dstrect, RectangleF srcrect, GraphicsUnit unit)
参数类型描述
dstrectRectangleF指定新容器的比例变换的矩形。与 srcrect 一起使用。
srcrectRectangleF指定新容器的比例变换的矩形。与 dstrect 一起使用。
单位GraphicsUnit指定新容器度量单位的值

另见