|
|
|
SftTree.DeleteGDIPlusImage Method |
Deletes a GDI+ image object.
Syntax
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); |
||
Delphi |
procedure object.DeleteGDIPlusImage(pGDIPlusImage : Pointer); |
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