Class BitmapExtensions
Extension methods for System.Drawing.Bitmap.
Inheritance
System.Object
BitmapExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.Controls.Extensions
Assembly: Phoenix.Controls.dll
Syntax
public static class BitmapExtensions
Methods
View SourceToImageSource(Bitmap)
Turn Bitmap type into BitmapImage type.
Declaration
public static BitmapImage ToImageSource(this Bitmap bitmap)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Bitmap | bitmap | Image represented as Bitmap. |
Returns
Type | Description |
---|---|
System.Windows.Media.Imaging.BitmapImage | Image represented as BitmapImage. |