ImageConversionHelper.GetBitmapImage Method (Icon)
Converts an Icon into a BitmapImage.
Namespace: Microsoft.WindowsServerSolutions.Common
Assembly: AdminCommon (in AdminCommon.dll)
Syntax
public static BitmapImage GetBitmapImage(
Icon iconImage
)
public:
static BitmapImage^ GetBitmapImage(
Icon^ iconImage
)
Public Shared Function GetBitmapImage (
iconImage As Icon
) As BitmapImage
Parameters
iconImage
Type: System.Drawing.IconThe icon to convert.
Return Value
Type: System.Windows.Media.Imaging.BitmapImage
A System.Windows.Media.Imaging.BitmapImage.
See Also
GetBitmapImage Overload
ImageConversionHelper Class
Microsoft.WindowsServerSolutions.Common Namespace
Return to top