BufferedGraphicsContext Constructor
Collapse the table of content
Expand the table of content

BufferedGraphicsContext.BufferedGraphicsContext Constructor

Initializes a new instance of the BufferedGraphicsContext class.

Namespace: System.Drawing
Assembly: System.Drawing (in system.drawing.dll)

public BufferedGraphicsContext ()
public BufferedGraphicsContext ()
public function BufferedGraphicsContext ()
Not applicable.

For graphically intensive applications such as animation, you can sometimes improve performance by using a dedicated BufferedGraphicsContext instead of the default instance provided by the BufferedGraphicsManager. This allows you to create and manage graphics buffers individually.


You should always call Dispose when you finish using a dedicated BufferedGraphicsContext.

For more information about dedicated graphics buffers, see How to: Manually Manage Buffered Graphics.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

© 2016 Microsoft