Copy a sub part of the current dib image.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public static FIBITMAP Copy( FIBITMAP dib, int left, int top, int right, int bottom ) |
Visual Basic (Declaration) |
---|
Public Shared Function Copy ( _ dib As FIBITMAP, _ left As Integer, _ top As Integer, _ right As Integer, _ bottom As Integer _ ) As FIBITMAP |
Visual C++ |
---|
public: static FIBITMAP Copy( FIBITMAP dib, int left, int top, int right, int bottom ) |
Parameters
- dib
- Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
- left
- Type: System..::.Int32
Specifies the left position of the cropped rectangle.
- top
- Type: System..::.Int32
Specifies the top position of the cropped rectangle.
- right
- Type: System..::.Int32
Specifies the right position of the cropped rectangle.
- bottom
- Type: System..::.Int32
Specifies the bottom position of the cropped rectangle.