FreeImage.NET Class Library Reference
FreeImageCopy Method |
Copy a sub part of the current dib image.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static FIBITMAP Copy( FIBITMAP dib, int left, int top, int right, int bottom )
Parameters
- dib
- Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap. - left
- Type: SystemInt32
Specifies the left position of the cropped rectangle. - top
- Type: SystemInt32
Specifies the top position of the cropped rectangle. - right
- Type: SystemInt32
Specifies the right position of the cropped rectangle. - bottom
- Type: SystemInt32
Specifies the bottom position of the cropped rectangle.
Return Value
Type: FIBITMAPHandle to a FreeImage bitmap.
See Also