Visual Basic (Declaration) | |
---|---|
Public Function Crop( _ ByVal left As Integer, _ ByVal top As Integer, _ ByVal right As Integer, _ ByVal bottom As Integer _ ) As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As CiImage Dim left As Integer Dim top As Integer Dim right As Integer Dim bottom As Integer Dim value As Integer value = instance.Crop(left, top, right, bottom) |
Delphi | |
---|---|
public function Crop( left: Integer; top: Integer; right: Integer; bottom: Integer ): Integer; |
Parameters
- left
- top
- right
- bottom
Image is cropped to the size of cropping rectangle. left, top define upper left corner coordinates of cropping rectangle. right, bottom define lower right corner of cropping rectangle. The coordinates should be valid (right greater than left and bottom greater than top); otherwise error is generated.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family