HeaderPane
Main
Hide
Share Link
Print

SftBox.DeleteGDIPlusImage Method

Deletes a GDI+ image object.

Syntax

C#void object.DeleteGDIPlusImage(int pGDIPlusImage);
VB.NETobject.DeleteGDIPlusImage(ByVal pGDIPlusImage As Integer)
C++HRESULT object->DeleteGDIPlusImage(LONG_PTR pGDIPlusImage);
CHRESULT object->raw_DeleteGDIPlusImage(LONG_PTR pGDIPlusImage);
VBobject.DeleteGDIPlusImage(ByVal pGDIPlusImage As LONG_PTR)

object

A SftBox object.

pGDIPlusImage

A pointer to a GDI+ image (Gdiplus::Image*) allocated using LoadGDIPlusImage or LoadGDIPlusImageFromResource.

Comments

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).

See Also SftBox Object | Object Hierarchy


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.