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
參數
- icon
型別:System.Drawing.Bitmap
Bitmap 以變為透明。
傳回值
型別:System.Drawing.Bitmap
透明圖示。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。