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





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

Namespace: MindFusion.Drawing
Package: MindFusion.Common

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

Public Overridable 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 GdiGraphics object at the time of the method call.

 See Also

BeginContainer Method Overload List
GdiGraphics Members
GdiGraphics Class
MindFusion.Drawing Namespace