ContinueLineItems Method of the Document Object

This method attempts to extract more line items after the operator corrects one or several first line items manually.

Useful when you have long tables or lists that weren't recognized correctly at first. You will only have to correct the first few line items manually, then call this method to continue the pattern and detect all the rest.

After this method call, the Field objects corresponding to the line items will become invalid. The parent field that is the group of all line items of this type can still be accessed; get the instances of the line items that you want to work with from it.

Important!

  • This method works only on Invoice or Purchase Order projects, as the concept of line items applies only to these document types.
  • The country of vendor or purchaser should be detected for this method to work.

Syntax

Visual Basic .NET

Sub ContinueLineItems( _
  block As IBlock, _
  useExistingRowRegions As Boolean _
)
    

C++

HRESULT ContinueLineItems(
  IBlock       block,
  VARIANT_BOOL useExistingRowRegions
);
    

Parameters

block
[in] The Block variable with the first block that contains a correctly marked up line item with the structure that should be extended to other line items.
useExistingRowRegions
[in] Set to TRUE if the line items have been detected correctly, but the fields within weren't identified properly. Set to FALSE if the line item regions should also be detected again.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.

See also

Document

8/15/2023 1:19:30 PM

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.