RanorexRanorex Documentation
Resize Method (input, width, height)
NamespacesRanorexImagingResize(Bitmap, Int32, Int32)
Resizes the input image.
Declaration Syntax
C#Visual BasicVisual C++
public static Bitmap Resize(
	Bitmap input,
	int width,
	int height
)
Public Shared Function Resize ( _
	input As Bitmap, _
	width As Integer, _
	height As Integer _
) As Bitmap
public:
static Bitmap^ Resize(
	Bitmap^ input, 
	int width, 
	int height
)
Parameters
input (Bitmap)
An image.
width (Int32)
The width the image should be resized to.
height (Int32)
The height the image should be resized to.
Return Value
The resized image with the specified widht and height.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf input is null.
ArgumentOutOfRangeExceptionIf width or height are not positive.

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 4.0.3.22982 (4.0.3.22982)