Click or drag to resize
Ranorex

ImagingResize Method (Bitmap, Double)

Resizes the input image.

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public static Bitmap Resize(
	Bitmap input,
	double factor
)

Parameters

input
Type: System.DrawingBitmap
An image.
factor
Type: SystemDouble
The factor by which the image should be resized.

Return Value

Type: Bitmap
The resized image.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf input is null.
ArgumentOutOfRangeExceptionIf width or height of the output image are not positive.
See Also