BitmapImage.SaveToStream(Stream, ImageFileType) 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.
Save the image to a stream
C#
public abstract void SaveToStream (System.IO.Stream stream, Iot.Device.Graphics.ImageFileType format);
abstract member SaveToStream : System.IO.Stream * Iot.Device.Graphics.ImageFileType -> unit
Public MustOverride Sub SaveToStream (stream As Stream, format As ImageFileType)
- stream
- Stream
The stream to save the data to
- format
- ImageFileType
The image format
Product | Versions |
---|---|
.NET IoT Libraries | 2.2.0 |