C# Class Microsoft.Common.Wpf.Imaging.BitmapImageFactory

Show file Open project: Microsoft/RTVS

Public Methods

Method Description
Load ( Stream stream ) : BitmapImage

Load and immediately initialize a BitmapImage from a stream.

Load ( string filePath ) : BitmapImage

Load and immediately initialie a BitmapImage from a file on disk. This does not keep a lock on the file.

Method Details

Load() public static method

Load and immediately initialize a BitmapImage from a stream.
public static Load ( Stream stream ) : BitmapImage
stream Stream
return System.Windows.Media.Imaging.BitmapImage

Load() public static method

Load and immediately initialie a BitmapImage from a file on disk. This does not keep a lock on the file.
public static Load ( string filePath ) : BitmapImage
filePath string
return System.Windows.Media.Imaging.BitmapImage