Skip to main content
Roberty Studio
RPAPDF

PDF Data Region Model

PDF Data Region Model

Creates or updates a data extraction region model for use with PDFs. The model defines specific areas of the document where the data is read, allowing precise extractions from PDFs with a consistent structure.


Options​

Selected model regions​

List of the PDF regions the data is read from. Each region becomes an output variable in the Read PDF by regions action. For each region, enter:

  • Name — region name, used as the name of the return field. Use only unaccented letters, numbers and _, not starting with a number (e.g. invoice_number).
  • Page — number of the PDF page where the region is (starting at 1).
  • X (%) and Y (%) — position of the region's top-left corner, as a percentage of the page width and height (0 to 100).
  • Width (%) and Height (%) — size of the region, as a percentage of the page width and height (0 to 100).

Returns​

The ID of this action is used as a reference by the Read PDF by regions action.

Rules and Conditions​

  • The model must be set up with the extraction regions correctly marked before the reading action uses it.
  • Each region must have a unique name. If two regions have the same name, the Read PDF by regions action fails with the DUPLICATED_REGION_NAME error.
  • The model must be recreated if the PDF layout changes.
  • Use the Read PDF by regions action to extract the data based on the created model.