DeleteFingerprint

Deletes the fingerprint of the current selected page.

Syntax

bool DeleteFingerprint()

Parameters

None

Returns

Always returns True. Under certain conditions the action will be unable to delete the fingerprint but will still return True. For example if the action is not applied at the Page level or if the fingerprint's Image file cannot be found. Review the log file if DeleteFingerprint does not perform as expected.

Level

Page level only.

Details

Removes a fingerprint from the application and fingerprint database. Deletes the image file (.tif) and fingerprint file (.cco) of the current page's fingerprint from the application's fingerprint directory, and its record from the Fingerprint database. The current page must have an associated fingerprint template from a previous action such as FindFingerprint or nothing will be deleted.

SetFingerprintDirectory action must be called prior to this action.

If the fingerprint service is in use, the fingerprint will not be unloaded. Instead it will simply not be loaded the next time the service loads fingerprints.

Example
SetFingerprintDirectory("C:\ParentDirectory\Application\fingerprint")
DeleteFingerprint()

This example will set the fingerprint directory and then delete the fingerprint template that is associated with this page. It is assumed that FindFingerprint, SetFingerprint or similar action has been previously run to find the fingerprint that is associated with the page. Note that while SetFingerprintDirectory is shown in this example, it is typically called on a batch level so it is set only once. Refer to SetFingerprintDirector for more information.