BitmapSource.SetSource Method
Silverlight
Sets the source of the BitmapSource.
Namespace: System.Windows.Media.Imaging
Assembly: System.Windows (in System.Windows.dll)
Parameters
- streamSource
- Type: System.IO.Stream
The stream to set the source to.
This API can replace the existing texture represented by the BitmapSource. If you call SetSource, it will replace the current dimensions (PixelWidth and PixelHeight) of the BitmapSource.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.