System::Drawing::Graphics::BeginContainer method

Graphics::BeginContainer() method

Saves a container with the current state of this object, opens and uses a new container and returns the saved container.

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

See Also

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

Saves a container with the current state of this object, opens and uses a new container and returns the saved container.

SharedPtr<Drawing2D::GraphicsContainer> System::Drawing::Graphics::BeginContainer(Rectangle dstrect, Rectangle srcrect, GraphicsUnit unit)
ParameterTypeDescription
dstrectRectangleThe rectangle that specifies a scale transformation of the new container. Used together with srcrect
srcrectRectangleThe rectangle that specifies a scale transformation of the new container. Used together with dstrect
unitGraphicsUnitThe value that specifies the unit of measure of the new container

See Also

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

Saves a container with the current state of this object, opens and uses a new container and returns the saved container.

SharedPtr<Drawing2D::GraphicsContainer> System::Drawing::Graphics::BeginContainer(RectangleF dstrect, RectangleF srcrect, GraphicsUnit unit)
ParameterTypeDescription
dstrectRectangleFThe rectangle that specifies a scale transformation of the new container. Used together with srcrect
srcrectRectangleFThe rectangle that specifies a scale transformation of the new container. Used together with dstrect
unitGraphicsUnitThe value that specifies the unit of measure of the new container

See Also