FindBlackFingerprint

Attempts to match black forms to fingerprints in the fingerprints directory of an application. If a match does not occur, the action responds according to the parameters that you enter.

Syntax

bool FindBlackFingerprint(StrParam)

Parameters

Two comma-separated values (the second is optional)
  1. True or False: True If a fingerprint match is not found, a new fingerprint is created and the two fingerprint files (.tif and .cco) are placed in the fingerprint directory. False, if the task is to proceed without creating a new fingerprint.
  2. Optional: The Page Type that is to be assigned to the newly created fingerprint if the first parameter is True. If you do not include this parameter, the action assigns the Page Type of the current page.
Smart parameters are supported.

Returns

False, if the action is not applied at the Page level or if the first parameter is False and a fingerprint match does not occur. Otherwise, True.

Level

Page level only.

Details

This action attempts to match black forms to fingerprints in the fingerprints directory of an application.

If a match does not occur, the action responds according to the parameters you enter.

Example:
AnalyzeImage()
SetSearchArea("0.5")
SetProblemValue("0.7")
SetFingerprintDir("ParentDirectory\Application\fingerprint")
FindBlackFingerprint("True,PageType")

In this sequence, the FindBlackFingerprint action uses only the first 50% of the fingerprint to search for a match. It accepts a match of 0.7 or higher.

If no match is found, the sequence creates a new fingerprint and stores it in the location that is specified by the SetFingerprintDir action.

If the parameter is set to False, no fingerprint is created when a match is not found.