FreeImageBitmap Constructor (FreeImageBitmap, Size)
From FreeImage.NET
FreeImage.NET Class Library Reference
| FreeImageBitmap Constructor (FreeImageBitmap, Size) |
Initializes a new instance of the FreeImageBitmap class
bases on the specified image with the specified size.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
C#
public FreeImageBitmap( FreeImageBitmap original, Size newSize )
Parameters
- original
- Type: FreeImageAPIFreeImageBitmap
The original to clone from. - newSize
- Type: System.DrawingSize
The Size structure that represent the size of the new FreeImageBitmap.
| Exception | Condition |
|---|---|
| Exception | The operation failed. |
| ArgumentNullException | original is a null reference. |
| ArgumentOutOfRangeException | newSize.Width or newSize.Height are less or equal zero. |