.NET Windows Forms in a Nutshell

GraphicsContainer marshal by reference

System.Drawing.Drawing2D (system.drawing.dll) sealed class

This class encapsulates the state of a Graphics object. It is returned from System.Drawing.Graphics.BeginContainer() and can be used to restore the graphics state with System.Drawing.Graphics.EndContainer() . It is an opaque type and offers no additional methods .

public sealed class GraphicsContainer : MarshalByRefObject { // No public or protected members }

Hierarchy

System.Object System.MarshalByRefObject GraphicsContainer

Returned By

System.Drawing.Graphics.BeginContainer()

Passed To

System.Drawing.Graphics.EndContainer()

Категории