Share via


IImageLoadingService.FromStream(Stream, ImageFormat) Method

Definition

public Microsoft.Maui.Graphics.IImage FromStream (System.IO.Stream stream, Microsoft.Maui.Graphics.ImageFormat format = Microsoft.Maui.Graphics.ImageFormat.Png);
abstract member FromStream : System.IO.Stream * Microsoft.Maui.Graphics.ImageFormat -> Microsoft.Maui.Graphics.IImage
Public Function FromStream (stream As Stream, Optional format As ImageFormat = Microsoft.Maui.Graphics.ImageFormat.Png) As IImage

Parameters

stream
Stream
format
ImageFormat

Returns

Applies to