ImageMan.Net Version 3 Summer 2012 Release
hPalette Property
See Also  Send Feedback
DTI.ImageMan Namespace > ImPalette Class : hPalette Property





Glossary Item Box

Returns a HPALETTE for the palette object.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property hPalette As System.IntPtr
Visual Basic (Usage)Copy Code
Dim instance As ImPalette
Dim value As System.IntPtr
 
value = instance.hPalette
C# 
public System.IntPtr hPalette {get;}
JScript 
public function get hPalette : System.IntPtr
Managed Extensions for C++ 
public: __property System.IntPtr get_hPalette();
C++/CLI 
public:
property System.IntPtr hPalette {
   System.IntPtr get();
}

Remarks

The handle returned from this property must be free using the Windows GDI function DeleteObject otherwise a memory leak will occur.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.