共用方式為


IImage.SaveAsync(Stream, ImageFormat, Single) 方法

定義

public System.Threading.Tasks.Task SaveAsync (System.IO.Stream stream, Microsoft.Maui.Graphics.ImageFormat format = Microsoft.Maui.Graphics.ImageFormat.Png, float quality = 1);
abstract member SaveAsync : System.IO.Stream * Microsoft.Maui.Graphics.ImageFormat * single -> System.Threading.Tasks.Task
Public Function SaveAsync (stream As Stream, Optional format As ImageFormat = Microsoft.Maui.Graphics.ImageFormat.Png, Optional quality As Single = 1) As Task

參數

stream
Stream
format
ImageFormat
quality
Single

傳回

適用於