Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.2 Object Library
PCDLRN ActiveX DLL > Scan Object : SetParams Method
Required Long that sets the Method property.
Required Long that sets the Filter property.
Required Long that sets the OperationMode property.
Required Long that sets the HitType property.
Required Long that sets the NominalMode property.
Required Long that sets the BoundaryCondition property.
SetParams Method
Description

This method is provided as a shortcut to setting these commonly used properties all at once.

Syntax
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
Parameters
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.
Return Type
Boolean value.
Remarks

If scan is a ScanCommand 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

See Also