ASP.NET Pack Programmer's Guide
IGraphics.BeginContainer Method (Rectangle, Rectangle, GraphicsUnit)
See Also
 





Saves a graphics container with the current state of this IGraphics object and opens and uses a new graphics container with the specified scale transformation.

Namespace: MindFusion.Drawing
Package: MindFusion.Common

 Syntax

C#  Copy Code

GraphicsContainer BeginContainer (
    Rectangle dstrect,
    Rectangle srcrect,
    GraphicsUnit unit
)

Visual Basic  Copy Code

Function BeginContainer( _
    dstrect As Rectangle, _
    srcrect As Rectangle, _
    unit As GraphicsUnit _
) As GraphicsContainer

 Parameters

dstrect
A .NET Rectangle structure that, together with the srcrect parameter, specifies a scale transformation for the container.
srcrect
A .NET Rectangle structure that, together with the dstrect parameter, specifies a scale transformation for the container.
unit
Member of the .NET GraphicsUnit enumeration that specifies the unit of measure for the container.

 Return Value

This method returns a .NET GraphicsContainer object that represents the state of this IGraphics object at the time of the method call.

 See Also

BeginContainer Method Overload List
IGraphics Members
IGraphics Interface
MindFusion.Drawing Namespace