Set top and left margins
Visual Basic |
---|
Public Sub AutoRegister( _ ByVal NewLeftMargin As Long, _ ByVal NewTopMargin As Long _ ) |
- NewLeftMargin
- New left margin in pixels
- NewTopMargin
- New top margin in pixels
Size of image is preserved.
VB Example (Visual Basic) | Copy Code |
---|---|
Public Sub T_AutoRegister(ByRef Rep As CiRepair) Rep.AutoRegister 100, 100 End Sub |