Charting for WinForms Programmer's Guide
IGraphics.BeginContainer Method (RectangleF, RectangleF, 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
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

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

 Parameters

dstrect
A .NET RectangleF structure that, together with the srcrect parameter, specifies a scale transformation for the new graphics container.
srcrect
A .NET RectangleF structure that, together with the dstrect parameter, specifies a scale transformation for the new graphics 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