UserInteractionServices.MakeIconTransparent 方法

使用 TransparentColor 属性的值使所提供的图标变为透明。

命名空间:  Microsoft.Data.Schema
程序集:  Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)

语法

声明
Protected Function MakeIconTransparent ( _
    icon As Bitmap _
) As Bitmap
protected Bitmap MakeIconTransparent(
    Bitmap icon
)
protected:
Bitmap^ MakeIconTransparent(
    Bitmap^ icon
)
member MakeIconTransparent : 
        icon:Bitmap -> Bitmap 
protected function MakeIconTransparent(
    icon : Bitmap
) : Bitmap

参数

返回值

类型:System.Drawing.Bitmap
透明图标。

.NET Framework 安全性

请参见

参考

UserInteractionServices 类

Microsoft.Data.Schema 命名空间

TransparentColor