Deletes a GDI+ image object.
|VB.NET||object.DeleteGDIPlusImage(ByVal pGDIPlusImage As Integer)|
|VB||object.DeleteGDIPlusImage(ByVal pGDIPlusImage As LONG_PTR)|
|C#.NET||void object.DeleteGDIPlusImage(int pGDIPlusImage);|
|VC++||HRESULT object->DeleteGDIPlusImage(LONG_PTR pGDIPlusImage);|
|C||HRESULT object->raw_DeleteGDIPlusImage(LONG_PTR pGDIPlusImage);|
A pointer to a GDI+ image (Gdiplus::Image*) allocated using LoadGDIPlusImage or LoadGDIPlusImageFromResource.
The DeleteGDIPlusImage method deletes a GDI+ image object.
A GDI+ image created using LoadGDIPlusImage or LoadGDIPlusImageFromResource must be freed using DeleteGDIPlusImage (or the equivalent "delete Gdiplus::Image*", which is usually accessible to C++ applications only).
This method is mainly intended for applications written using a language that does not have direct access to GDI+ (such as VB6). Other languages usually have direct access to GDI+ (such as C++) or have other mechanisms (NETImageObject for .NET applications).