ClearImage 8 Help
Crop Method
See Also  Send Feedback
Inlite.ClearImage Namespace > CiImage Class : Crop Method






left
top
right
bottom
Crop rectangle

Syntax

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)
C# 
public int Crop( 
   int left,
   int top,
   int right,
   int bottom
)
Delphi 
public function Crop( 
    left: Integer;
    top: Integer;
    right: Integer;
    bottom: Integer
): Integer; 
JScript 
public function Crop( 
   left : int,
   top : int,
   right : int,
   bottom : int
) : int;
Managed Extensions for C++ 
public: int Crop( 
   int left,
   int top,
   int right,
   int bottom
) 
C++/CLI 
public:
int Crop( 
   int left,
   int top,
   int right,
   int bottom
) 

Parameters

left
top
right
bottom

Remarks

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.

Requirements

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

See Also

© 2007-2013. Inlite Research, Inc. All Rights Reserved.