Hi, the way my code scans is, first it creates a brand new LF document (and save it), get the doc's ID, then uses this ID when calling LaunchScanning.
If the user cancels out of LaunchScanning (or for whatever reason scanning didn't actually add anything do the document), how can I detect that ? Because if that happened, I need to delete the empty doc (or don't save it to begin with, and only save if Scan added something to the doc).
The best I can think of is compare the doc info before and after the scan - say the number of pages or some other doc meta data. Is there a more direct way to learn about the scan results ? If not, is the number of pages good enough indicator ?
thanks