English (English)

Sample 4. Step 3: Blocks

Our FlexiLayout should reliably detect the following blocks (provided they are present on a given image):

  • Invoice Number
  • Invoice Date
  • Delivery Address
  • Total Amount
  • Invoice Table (Reference, Designation, Unit, Quantity, UnitPrice, and Total columns)
  • Company

For convenience, create a list of all the required blocks:

  1. For the Invoice Number field, create a block of type Text and name it InvoiceNumber.
  2. For the Invoice Date field, create a block of type Text and name it InvoiceDate.
  3. For the Delivery Address field, create a block of type Text and name it DeliveryAddress.
  4. For the Total Amount field, create a block of type Text and name it TotalAmount.
  5. For the Company field, create a block of type Text and name it Company.
  6. For the Invoice Table field, create a block of type Table and name it InvoiceTable.
    In the block's Properties dialog box, click the Columns tab and add the names of the columns in the following order: Reference, Designation, Unit, Quantity, UnitPrice, Total.

Note.The provided column names and their order will correspond to this block in the FlexiCapture Document Definition.

Note.For more about creating Table blocks, see Sample 3. Step 3.

You have specified the properties of your FlexiLayout and can now create the required elements.

25.05.2023 7:55:03

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.