ForceApplyDocumentDefinition Method of the Batch Object

This method forcibly matches specified Document Definition section to selected pages of the batch. This method is useful when a static element (e.g. separator) of the Document Definition was not found on the images, but the Document Definition still can be applied to the images (other fields and static elements were found).

Use this method if it is impossible to match Document Definition to documents automatically (e.g. with the help of the ApplyDocumentDefinitions or Recognize methods of the Batch object).

Syntax

Visual Basic .NET

Sub ForceApplyDocumentDefinition( _
  PageIds As IntsCollection, _
  Section As SectionDefinition _
)
    

C++

HRESULT ForceApplyDocumentDefinition(
  IIntsCollection*    PageIds,
  ISectionDefinition* Section
);
    

Parameters

PageIds
[in] This parameter refers to the IntsCollection object that contains a set of identifiers of the batch pages to match Document Definition section to.
Section
[in] This parameter refers to the SectionDefinition object that contains the section of Document Definition to match.

Return values

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

See also

Batch

IBatch::Recognize

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.