Search
GdiGraphics.BeginContainer Method (RectangleF, RectangleF, 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 (
    RectangleF dstrect,
    RectangleF srcrect,
    GraphicsUnit unit
)

Visual Basic  Copy Code

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

 See Also