Community

MultiPage-PDF

Hi, 

I process multi-page PDF documents that contain a 15 of pages and i want to extract/recognize data only for the page no 13. To speed up processing time (and to conserve my credits) it would be great if I process the only page no 13. right now when I run the project it will process all the 15 pages. How to achieve this type of scenario.

Cheers,
Vishal

0

Comments

2 comments

  • Avatar
    Ekaterina

    Hello,

    I do not know any scenario to recognize a part of the document separately. Sorry you should recognize all pages to define the required one.

    0
  • Avatar
    sahota

    This is possible by deleting unnecessary pages via  workflow stage of Batch Processing Type (C# language) just before Recognition stage in advanced workflow. If you are OK to delete all pages except for page number 13 then you can do in following way:

    Iterate over all the Documents in your Batch (Outer Loop)

    Iterate Over All the pages in Document (innerLoop) 

    Keep a page counter starting from 0, once counter reaches 12 use following method :

    Batch.DeletePage(page : IPage);

    end inner loop

    reset page counter to 0

    end outer loop

     

    Following interfaces will be used : IDocument,IPage

    Following Objects will be used : Documents

    2

Please sign in to leave a comment.