 | ImagingResize Method (Bitmap, Int32, Int32) |
Resizes the input image.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 10.2.5+git.08880485
Syntaxpublic static Bitmap Resize(
Bitmap input,
int width,
int height
)
Public Shared Function Resize (
input As Bitmap,
width As Integer,
height As Integer
) As Bitmap
Parameters
- input
- Type: System.DrawingBitmap
An image. - width
- Type: SystemInt32
The width the image should be resized to. - height
- Type: SystemInt32
The height the image should be resized to.
Return Value
Type:
BitmapThe resized image with the specified
width
and
height.
Exceptions
See Also