PdfExtractPagesWithBarcode

Description

this activity performs a search on a pdf file and divides it into many subfiles according to the barcode.


Filters

RegExBarcodeContentFilter InArgument<String>

A regular expressoin filter barcodes with a specific format.


Input File

PdfDmFile InArgument<IDmFile> REQUIRED

The input pdf file.



Settings

BarcodeInDocument EBarcodeInDocument

The position where the barcodes relating to the individual sub-documents are found.

A barcode could be:
  • At the FirstPage: every sub-document has the barcode only in the first page. All the other pages must follow it in the correct order.
  • At the LastPage: every sub-document has the barcode only in the last page. All the other pages must precede it in the correct order.
  • In the EveryPage: every page has its own bar code referred to a specific sub-document. The pages can easily be in no particular order as, thanks to the barcode, the activity will insert them in the correct sub-file. The activity aggregates the individual pages according to the order in which it finds them in the file so you have to pay attention, even if the pages are not close to each other, to the order in which they are found in the file.

BarcodePositionFilter EBarcodePosition

The position relative to the single page where the barcodes you want to detect are located.

The position you could set are:
  • EntirePage
  • Top
  • Bottom
  • TopLeft
  • TopRight
  • BottomLeft
  • BottomRight

BarcodesInPage EBarcodesInPage

Specifies whether barcodes on individual pages are single or multiple


Try

LargestEdgeLength InArgument<Int32?>

Sepcifies the Largest Edge Length of the image extracted from PDF page

RetryCount InArgument<Int32>

Specifies the number of retries width image resize for founding barcodes (in any single page)