 | ImagingResize Method (Bitmap, Double) |
Resizes the input image.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static Bitmap Resize(
Bitmap input,
double factor
)
Public Shared Function Resize (
input As Bitmap,
factor As Double
) As Bitmap
Parameters
- input
- Type: System.DrawingBitmap
An image. - factor
- Type: SystemDouble
The factor by which the image should be resized.
Return Value
Type:
BitmapThe resized image.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | If input is null. |
| ArgumentOutOfRangeException | If width or height of the output
image are not positive. |
See Also