Sets the identification parameters in the supplied context.
| Prerequisites | The Fingerprint SDK library must have been previously initialized. |
| Return | On success, GR_OK is returned. If any supplied parameter is invalid or out of range, its default value will be used and GR_DEFAULT_USED is returned. On failure, the appropriate error code is returned. |
| [in] identifyThreshold |
The identification score threshold. |
| [in] identifyRotationTolerance |
The rotation tolerance for the identification process. |
| [in] context |
Context in which the identification parameters will be set. |
C++ .NET
int SetIdentifyParameters (int identifyThreshold, int identifyRotationTolerance, int context)
C#
int SetIdentifyParameters (int identifyThreshold, int identifyRotationTolerance, int context)
VB6
Function SetIdentifyParameters (ByVal identifyThreshold As Long, ByVal identifyRotationTolerance As Long, ByVal context As Long) As Long
VB .NET
Function SetIdentifyParameters (ByVal identifyThreshold As integer, ByVal identifyRotationTolerance As integer, ByVal context As integer) As integer
Delphi
function SetIdentifyParameters(identifyThreshold: integer; identifyRotationTolerance: integer; context: integer): integer;
C++ .NET
ret = axGrFingerXCtrl2->SetIdentifyParameters(thresholdId, rotationMaxId, GR_DEFAULT_CONTEXT);
// error?
if (ret == GR_DEFAULT_USED) {
MessageBox::Show("Invalid identify parameters values. Default values will be used.");
}
C#
ret = axGrFingerXCtrl1.SetIdentifyParameters(thresholdId, rotationMaxId, (int)GRConstants.GR_DEFAULT_CONTEXT);
// error?
if ((GRConstants)ret == GRConstants.GR_DEFAULT_USED)
{
MessageBox.Show("Invalid identify parameters values. Default values will be used.");
}
VB6
ret = GrFingerXCtrl1.SetIdentifyParameters(thresholdId, rotationMaxId, GR_DEFAULT_CONTEXT)
' error?
If ret = GR_DEFAULT_USED Then
MsgBox ("Invalid identify parameters values. Default values will be used.")
End If
VB .NET
ret = AxGrFingerXCtrl1.SetIdentifyParameters(thresholdId, rotationMaxId, GRConstants.GR_DEFAULT_CONTEXT)
' error?
If ret = GRConstants.GR_DEFAULT_USED Then
MsgBox("Invalid identify parameters values. Default values will be used.")
End If
Delphi
ret := GrFingerXCtrl1.SetIdentifyParameters(thresholdId, rotationMaxId, GR_DEFAULT_CONTEXT);
// error?
if ret = GR_DEFAULT_USED then begin
showmessage('Invalid identify parameters values. Default values will be used.');
end;