共用方式為


IImage.Save(Stream, ImageFormat, Single) Method

Definition

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)

Parameters

stream
Stream
format
ImageFormat
quality
Single

Applies to