SkiaImage.Downsize 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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