BitmapImage.CreateFromStream(Stream) Method

Definition

Create a bitmap from an open stream. This requires an implementation to be registered. See BitmapImage for details.

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

Parameters

data
Stream

The data stream

Returns

A bitmap

Applies to