共用方式為


SkiaImage.Resize(Single, Single, ResizeMode, Boolean) 方法

定義

public Microsoft.Maui.Graphics.IImage Resize (float width, float height, Microsoft.Maui.Graphics.ResizeMode resizeMode = Microsoft.Maui.Graphics.ResizeMode.Fit, bool disposeOriginal = false);
abstract member Resize : single * single * Microsoft.Maui.Graphics.ResizeMode * bool -> Microsoft.Maui.Graphics.IImage
override this.Resize : single * single * Microsoft.Maui.Graphics.ResizeMode * bool -> Microsoft.Maui.Graphics.IImage
Public Function Resize (width As Single, height As Single, Optional resizeMode As ResizeMode = Microsoft.Maui.Graphics.ResizeMode.Fit, Optional disposeOriginal As Boolean = false) As IImage

參數

width
Single
height
Single
resizeMode
ResizeMode
disposeOriginal
Boolean

傳回

實作

適用於