This method is provided as a shortcut to set these commonly used scan parameters all at once.
Visual Basic |
---|
Public Function SetParams( _ ByVal Method As Long, _ ByVal Filter As Long, _ ByVal OperationMode As Long, _ ByVal HitType As Long, _ ByVal NominalMode As Long, _ ByVal BoundaryCondition As Long _ ) As Boolean |
- Method
- Required Long that sets the Method property.
- Filter
- Required Long that sets the Filter property.
- OperationMode
- Required Long that sets the OperationMode property.
- HitType
- Required Long that sets the HitType property.
- NominalMode
- Required Long that sets the NominalMode property.
- BoundaryCondition
- Required Long that sets the BoundaryCondition property.
If scan is a BasicScanCommand object, and M, F, O, H, N,and B are all Dimensioned as Object, the following are equivalent:
scan.SetParams M, F, O, H, N, B
scan.Method = M
scan.Filter = F
scan.OperationMode = O
scan.HitType = H
scan.NominalMode = N
scan.BoundaryCondition = B