ImageConversionHelper.GetBitmapImage Method (Image)
Converts an Image into a BitmapImage.
Namespace: Microsoft.WindowsServerSolutions.Common
Assembly: AdminCommon (in AdminCommon.dll)
Syntax
public static BitmapImage GetBitmapImage(
Image bitmapImage
)
public:
static BitmapImage^ GetBitmapImage(
Image^ bitmapImage
)
Public Shared Function GetBitmapImage (
bitmapImage As Image
) As BitmapImage
Parameters
bitmapImage
Type: System.Drawing.ImageThe image 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