ControlPaint.CreateHBitmapColorMask(Bitmap, IntPtr) 方法     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在图像外创建 Win32 HBITMAP。
public:
 static IntPtr CreateHBitmapColorMask(System::Drawing::Bitmap ^ bitmap, IntPtr monochromeMask);
	public static IntPtr CreateHBitmapColorMask(System.Drawing.Bitmap bitmap, IntPtr monochromeMask);
	static member CreateHBitmapColorMask : System.Drawing.Bitmap * nativeint -> nativeint
	Public Shared Function CreateHBitmapColorMask (bitmap As Bitmap, monochromeMask As IntPtr) As IntPtr
	参数
- monochromeMask
 - 
				
				IntPtr
nativeint
 
指向单色掩码的指针。
返回
		
		IntPtr
	nativeint
位图的句柄。
例外
              bitmap 为 null。
注解
调用方负责解除分配 HBITMAP。 如果图像使用透明度,则背景将填充指定的颜色。