ESRI.ArcGIS.ADF.Local
GetHBitmap Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.BaseClasses Namespace > BaseCommand Class : GetHBitmap Method




bitmap
The source Bitmap
Creates an HBITMAP from the specified Bitmap, preserving the alpha-channel.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetHBitmap( _
   ByVal bitmap As Bitmap _
) As IntPtr
Visual Basic (Usage)Copy Code
Dim bitmap As Bitmap
Dim value As IntPtr
 
value = BaseCommand.GetHBitmap(bitmap)
C# 
public static IntPtr GetHBitmap( 
   Bitmap bitmap
)

Parameters

bitmap
The source Bitmap

Return Value

A new HBITMAP copy of 'bitmap'.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.