Copy a sub part of this FreeImageBitmap.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public FreeImageBitmap Copy(
	int left,
	int top,
	int right,
	int bottom
)
Visual Basic (Declaration)
Public Function Copy ( _
	left As Integer, _
	top As Integer, _
	right As Integer, _
	bottom As Integer _
) As FreeImageBitmap
Visual C++
public:
FreeImageBitmap^ Copy(
	int left, 
	int top, 
	int right, 
	int bottom
)

Parameters

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.

Return Value

The sub part in a new instance.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also