System.Drawing.Graphics.Dispose Method

Releases all resources used by this System.Drawing.Graphics.

Syntax

public void Dispose ()

Returns

This method does not return a value.

Remarks

Calling Graphics.Dispose allows the resources used by this System.Drawing.Graphics to be reallocated for other purposes.

Requirements

Namespace: System.Drawing
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0