Question
How to use Repair() Method in FlexiCapture 11?
Answer
IDocument Repair() updates the Document Definition to the latest version without requiring re-recognition.
It is not a full equivalent of the Update to The Latest Version option from the context menu as this method doesn't launch recognition.
Example script:
foreach (IDocument doc in Batch.Documents)
{
doc.Repair();
}
Please note that this script will work in the following conditions:
- You are verifying the full batches.
- You do not use the document sets.
Otherwise, the script needs modifications.
Comments
0 comments
Please sign in to leave a comment.