Changes the image size.
Namespace:
SGP.XUtilityAssembly: SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718
Syntax
Parameters
- image
- Type: System.Drawing..::.Image
Image.
- newWidth
- Type: System..::.Int32
A new width.
- newHeight
- Type: System..::.Int32
A new height.
Return Value
A new bitmap (Bitmap with the changed image.
Remarks
The antialias filter will be used for sizing.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | image is nullNothingnullptra null reference (Nothing in Visual Basic). |