PlatformImage.Downsize 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.
Overloads
Downsize(Single, Boolean) | |
Downsize(Single, Single, Boolean) |
Downsize(Single, Boolean)
- Source:
- PlatformImage.cs
- Source:
- PlatformImage.cs
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
Parameters
- maxWidthOrHeight
- Single
- disposeOriginal
- Boolean
Returns
Implements
Applies to
Downsize(Single, Single, Boolean)
- Source:
- PlatformImage.cs
- Source:
- PlatformImage.cs
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
Parameters
- maxWidth
- Single
- maxHeight
- Single
- disposeOriginal
- Boolean
Returns
Implements
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.