Class BitmapSourceExtensions
Contains extensions for the BitmapSource class.
Inherited Members
Namespace: TheXDS.MCART.Types.Extensions
Assembly: MCART.Wpf.Common.dll
Syntax
public static class BitmapSourceExtensions
Methods
| Edit this page View SourceToImage(BitmapSource)
Converts a BitmapSource into a BitmapImage.
Declaration
public static BitmapImage ToImage(this BitmapSource bs)
Parameters
| Type | Name | Description |
|---|---|---|
| BitmapSource | bs | The BitmapSource to convert. |
Returns
| Type | Description |
|---|---|
| BitmapImage | A BitmapImage that contains the image obtained from the specified BitmapSource. |