'Declaration
Public Shared Function ConvertActualPositionToGridLocation( _ ByVal layout As Layout, _ ByVal x As Double, _ ByVal y As Double, _ ByVal tolerance As Single, _ ByRef location As Location _ ) As Boolean
'Usage
Dim layout As Layout Dim x As Double Dim y As Double Dim tolerance As Single Dim location As Location Dim value As Boolean value = LocationHelper.ConvertActualPositionToGridLocation(layout, x, y, tolerance, location)
Parameters
- layout
- The layout of the plate.
- x
- The X position, in millimetres.
- y
- The Y position, in millimetres.
- tolerance
- The acceptable variance between the position and the grid location.
- location
- The new location.
Return Value
True if the actual position could be converted to a grid position, else false.