I need to know when the document gets recognized for custom logging purposes. How to achieve this?
It can be done with the help of Project > Properties > Event Handlers > After document state changed script:
Below is a sample piece of code that needs to be adjusted based on particular requirements:
if (ChangedStates.Has(2) && Document.IsRecognized)
Note: the event handler will not be triggered if the document was already recognized. In this case, before re-recognition, it is required to clear analysis results. It also does not work with web stations.