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