PlatformImage.Resize(Single, Single, ResizeMode, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters
- width
- Single
- height
- Single
- resizeMode
- ResizeMode
- disposeOriginal
- Boolean
Returns
Implements
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.