UserInteractionServices.MakeIconTransparent Method
Makes the provided icon transparent by using the value of the TransparentColor property.
Namespace: Microsoft.Data.Schema
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
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
Parameters
- icon
Type: System.Drawing.Bitmap
The Bitmap to make transparent.
Return Value
Type: System.Drawing.Bitmap
The transparent icon.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.