Question
There are some documents of a particular format in a batch that I don't want to be recognized and matched, but still want them to be imported. How can I exclude it?
Answer
You can use the "Before matching" event handler and include the following script there:
string filePath="";
filePath = Document.Pages[0].ImageSourceFileSubPath;
if (filePath.Contains(".jpg")|filePath.Contains(".jpeg"))
{
Matching.DefinitionsList = "";
Matching.ForceMatch = true;
Matching.NeedRecognition = false;
}
In the sample script, we excluded the JPG and JPEG formats. You can change the script according to your needs.
Comments
0 comments
Please sign in to leave a comment.