| 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
Size of image is preserved.
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