You are viewing limited content. For full access, please sign in.

Question

Question

how to detect LaunchScanning didn't scan anything

asked on June 27, 2016 Show version history

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

0 0

Replies

replied on June 28, 2016

I dont see anything else that could help you other than counting pages. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.