Convert correctly icon to bitmap with alpha blending support

Namespace:  Devolutions.Utils
Assembly:  Devolutions.Utils (in Devolutions.Utils.dll)

Syntax

Visual Basic
Public Shared Function IconToBitmap ( _
	icon As Icon _
) As Bitmap
C#
public static Bitmap IconToBitmap(
	Icon icon
)

Parameters

icon
Type: System.Drawing..::..Icon

Return Value

See Also