Sets the verification 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] verifyThreshold |
The verification score threshold. |
| [in] verifyRotationTolerance |
The rotation tolerance for the verification process. |
| [in] context |
Context in which the verification parameters will be set. |
C++ .NET
int SetVerifyParameters (int verifyThreshold, int verifyRotationTolerance, int context)
C#
int SetVerifyParameters (int verifyThreshold, int verifyRotationTolerance, int context)
VB6
Function SetVerifyParameters (ByVal verifyThreshold As Long, ByVal verifyRotationTolerance As Long, ByVal context As Long) As Long
VB .NET
Function SetVerifyParameters (ByVal verifyThreshold As Integer, ByVal verifyRotationTolerance As Integer, ByVal context As Integer) As Integer
Delphi
function SetVerifyParameters(verifyThreshold: integer; verifyRotationTolerance: integer; context: integer): integer;
C++ .NET
// set the new verification parameters
ret = axGrFingerXCtrl2->SetVerifyParameters(thresholdVr, rotationMaxVr, GR_DEFAULT_CONTEXT);
// error?
if (ret == GR_DEFAULT_USED) {
MessageBox::Show("Invalid verify parameters values. Default values will be used.");
}
C#
// set the new verification parameters
ret = axGrFingerXCtrl1.SetVerifyParameters(thresholdVr, rotationMaxVr, (int)GRConstants.GR_DEFAULT_CONTEXT);
// error?
if ((GRConstants)ret == GRConstants.GR_DEFAULT_USED)
{
MessageBox.Show("Invalid verify parameters values. Default values will be used.");
}
VB6
' set the new verification parameters
ret = GrFingerXCtrl1.SetVerifyParameters(thresholdVr, rotationMaxVr, GR_DEFAULT_CONTEXT)
' error?
If ret = GR_DEFAULT_USED Then
MsgBox ("Invalid verify parameters values. Default values will be used.")
End If
VB .NET
' set the new verification parameters
ret = AxGrFingerXCtrl1.SetVerifyParameters(thresholdVr, rotationMaxVr, GRConstants.GR_DEFAULT_CONTEXT)
' error?
If ret = GRConstants.GR_DEFAULT_USED Then
MsgBox("Invalid verify parameters values. Default values will be used.")
End If
Delphi
// set the new verification parameters
ret := GrFingerXCtrl1.SetVerifyParameters(thresholdVr, rotationMaxVr, GR_DEFAULT_CONTEXT);
// error?
if ret = GR_DEFAULT_USED then begin
showmessage('Invalid verify parameters values. Default values will be used.');
end;