DeleteObject (gdi32)
Last changed: Seri-109.90.29.109

.
Summary
The DeleteObject function deletes a logical pen, brush, font, bitmap, region, or palette, freeing all system resources associated with the object. After the object is deleted, the specified handle is no longer valid.

C# Signature:

[DllImport("gdi32.dll")]
static extern bool DeleteObject(IntPtr hObject);

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation