共用方式為


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

定義

public void Save (System.IO.Stream stream, Microsoft.Maui.Graphics.ImageFormat format = Microsoft.Maui.Graphics.ImageFormat.Png, float quality = 1);
abstract member Save : System.IO.Stream * Microsoft.Maui.Graphics.ImageFormat * single -> unit
Public Sub Save (stream As Stream, Optional format As ImageFormat = Microsoft.Maui.Graphics.ImageFormat.Png, Optional quality As Single = 1)

參數

stream
Stream
format
ImageFormat
quality
Single

適用於