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






NewLeftMargin
New left margin in pixels
NewTopMargin
New top margin in pixels
Set top and left margins

Syntax

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

Parameters

NewLeftMargin
New left margin in pixels
NewTopMargin
New top margin in pixels

Remarks

Size of image is preserved.

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.