Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
GetPaintHPalette Method
See Also 
Leadtools Namespace > RasterImage Class : GetPaintHPalette Method




hdc
The device context object on which this RasterImage is painted.
Returns a Windows palette handle corresponding to this RasterImage if painted on the given device context.

Syntax

Visual Basic (Declaration) 
Public Function GetPaintHPalette( _
   ByVal hdc As IntPtr _
) As IntPtr
Visual Basic (Usage)Copy Code
Dim instance As RasterImage
Dim hdc As IntPtr
Dim value As IntPtr
 
value = instance.GetPaintHPalette(hdc)
C# 
public IntPtr GetPaintHPalette( 
   IntPtr hdc
)
Managed Extensions for C++ 
public: IntPtr GetPaintHPalette( 
   IntPtr hdc
) 
C++/CLI 
public:
IntPtr GetPaintHPalette( 
   IntPtr hdc
) 

Parameters

hdc
The device context object on which this RasterImage is painted.

Return Value

A Windows palette handle (HPALETTE)

Remarks

For more information, refer to Handling Palette Changes.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also