FreeImage.NET Class Library Reference
FreeImageBitmap Constructor (FreeImageBitmap, Int32, Int32) |
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)
Syntax
C#
public FreeImageBitmap( FreeImageBitmap original, int width, int height )
Parameters
- original
- Type: FreeImageAPIFreeImageBitmap
The original to clone from. - width
- Type: SystemInt32
Width of the new FreeImageBitmap. - height
- Type: SystemInt32
Height of the new FreeImageBitmap.
Exceptions
Exception | Condition |
---|---|
Exception | The operation failed. |
ArgumentNullException | original is a null reference. |
ArgumentOutOfRangeException | width or height are less or equal zero. |
See Also