Graphics.DrawContainer Method

Draws the specified GraphicsContainer at the location specified by the coordinate pair.

Namespace: Aurigma.GraphicsMill.AdvancedDrawing
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public void DrawContainer(
	GraphicsContainer container,
	float x,
	float y
)

Parameters

container

Type: Aurigma.GraphicsMill.AdvancedDrawing.GraphicsContainer

A GraphicsContainer to draw.
x

Type: System.Single

The x-coordinate of the upper-left corner of the drawn GraphicsContainer.
y

Type: System.Single

The y-coordinate of the upper-left corner of the drawn GraphicsContainer.

Remarks

This method respects the container size. To verify if the content goes out of container bounds and will be croped, you can get the actual bounds by using the GetContentBounds() method.

See Also

Reference