Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

DeleteGDIPlusImage Method, SftTree Object

Deletes a GDI+ image object.

Syntax

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

object

A SftTree 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 SftTree Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.


Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.