コミュニティ

Limit processing duration

Hi

Is it possible to set max document processing duration (kind of timeout)

And if the duration is exceeded the scan will be stopped (and then file skipped or exception...)?

Thx

この記事は役に立ちましたか?

0人中0人がこの記事が役に立ったと言っています

コメント

1件のコメント

  • Avatar
    Aleksandr Egorov

    Hi

    You can implement a custom timer, check its value and use IScanCallback Interface to stop processing.

    You should also implement this callback on your side. Particularly, pay attention to OnImageScanned method. It has VARIANT_BOOL* Cancel argument which you should set to true inside method's implementation once timeout is reached.
     

    Best regards,

    Aleksandr 

    0

サインインしてコメントを残してください。