AutoCrop Method
ClearImage 8 Help
AutoCrop Method
See Also  Send Feedback
Inlite.ClearImageNet Namespace > ImageEditor Class : AutoCrop Method






leftMargin
topMargin
rightMargin
bottomMargin
Sets white margins of fixed size around image

Syntax

Visual Basic (Declaration) 
Public Sub AutoCrop( _
   ByVal leftMargin As Integer, _
   ByVal topMargin As Integer, _
   ByVal rightMargin As Integer, _
   ByVal bottomMargin As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As ImageEditor
Dim leftMargin As Integer
Dim topMargin As Integer
Dim rightMargin As Integer
Dim bottomMargin As Integer
 
instance.AutoCrop(leftMargin, topMargin, rightMargin, bottomMargin)
C# 
public void AutoCrop( 
   int leftMargin,
   int topMargin,
   int rightMargin,
   int bottomMargin
)
Delphi 
public procedure AutoCrop( 
    leftMargin: Integer;
    topMargin: Integer;
    rightMargin: Integer;
    bottomMargin: Integer
); 
JScript 
public function AutoCrop( 
   leftMargin : int,
   topMargin : int,
   rightMargin : int,
   bottomMargin : int
);
Managed Extensions for C++ 
public: void AutoCrop( 
   int leftMargin,
   int topMargin,
   int rightMargin,
   int bottomMargin
) 
C++/CLI 
public:
void AutoCrop( 
   int leftMargin,
   int topMargin,
   int rightMargin,
   int bottomMargin
) 

Parameters

leftMargin
topMargin
rightMargin
bottomMargin

Remarks

Licensing: Requires ClearImage Repair license

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.