Name
GraphicsState
Synopsis
This opaque type represents the state of a
System.Drawing.Graphics
object as saved using the
Graphics.Save()
method. You can restore the state
using the Graphics.Restore()
method. Compare this
with the GraphicsContainer
class, which offers
equivalent functionality.
public sealed class GraphicsState : MarshalByRefObject { // No public or protected members }
Hierarchy
System.Object
→ System.MarshalByRefObject → GraphicsState
Returned By
System.Drawing.Graphics.Save()
Passed To
System.Drawing.Graphics.Restore()
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.