BitmapImage.CreateFromStream(Stream) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create a bitmap from an open stream. This requires an implementation to be registered. See BitmapImage for details.
C#
public static Iot.Device.Graphics.BitmapImage CreateFromStream (System.IO.Stream data);
static member CreateFromStream : System.IO.Stream -> Iot.Device.Graphics.BitmapImage
Public Shared Function CreateFromStream (data As Stream) As BitmapImage
- data
- Stream
The data stream
A bitmap
Product | Versions |
---|---|
.NET IoT Libraries | 2.2.0 |