共用方式為


SkiaImage.Downsize 方法

定義

多載

Downsize(Single, Boolean)
Downsize(Single, Single, Boolean)

Downsize(Single, Boolean)

public Microsoft.Maui.Graphics.IImage Downsize (float maxWidthOrHeight, bool disposeOriginal = false);
abstract member Downsize : single * bool -> Microsoft.Maui.Graphics.IImage
override this.Downsize : single * bool -> Microsoft.Maui.Graphics.IImage
Public Function Downsize (maxWidthOrHeight As Single, Optional disposeOriginal As Boolean = false) As IImage

參數

maxWidthOrHeight
Single
disposeOriginal
Boolean

傳回

實作

適用於

Downsize(Single, Single, Boolean)

public Microsoft.Maui.Graphics.IImage Downsize (float maxWidth, float maxHeight, bool disposeOriginal = false);
abstract member Downsize : single * single * bool -> Microsoft.Maui.Graphics.IImage
override this.Downsize : single * single * bool -> Microsoft.Maui.Graphics.IImage
Public Function Downsize (maxWidth As Single, maxHeight As Single, Optional disposeOriginal As Boolean = false) As IImage

參數

maxWidth
Single
maxHeight
Single
disposeOriginal
Boolean

傳回

實作

適用於