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






NewLeftMargin
NewTopMargin
NewRightMargin
NewBottomMargin
Set image margins

Syntax

Visual Basic (Declaration) 
Public Function AutoCrop( _
   ByVal NewLeftMargin As Integer, _
   ByVal NewTopMargin As Integer, _
   ByVal NewRightMargin As Integer, _
   ByVal NewBottomMargin As Integer _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As CiRepair
Dim NewLeftMargin As Integer
Dim NewTopMargin As Integer
Dim NewRightMargin As Integer
Dim NewBottomMargin As Integer
Dim value As Integer
 
value = instance.AutoCrop(NewLeftMargin, NewTopMargin, NewRightMargin, NewBottomMargin)
C# 
public int AutoCrop( 
   int NewLeftMargin,
   int NewTopMargin,
   int NewRightMargin,
   int NewBottomMargin
)
Delphi 
public function AutoCrop( 
    NewLeftMargin: Integer;
    NewTopMargin: Integer;
    NewRightMargin: Integer;
    NewBottomMargin: Integer
): Integer; 
JScript 
public function AutoCrop( 
   NewLeftMargin : int,
   NewTopMargin : int,
   NewRightMargin : int,
   NewBottomMargin : int
) : int;
Managed Extensions for C++ 
public: int AutoCrop( 
   int NewLeftMargin,
   int NewTopMargin,
   int NewRightMargin,
   int NewBottomMargin
) 
C++/CLI 
public:
int AutoCrop( 
   int NewLeftMargin,
   int NewTopMargin,
   int NewRightMargin,
   int NewBottomMargin
) 

Parameters

NewLeftMargin
NewTopMargin
NewRightMargin
NewBottomMargin

Remarks

Size of image is changed.

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.