Name

GraphicsContainer

Synopsis

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()

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.