AddNew Method of the FieldRegions Object

This method adds a new field region on the corresponding page at the end of the collection.

Syntax

Visual Basic .NET

Function AddNew( _
  Page As Page, _
  Region As Region, _
  IsModified As Boolean _
) As FieldRegion
    

C++

HRESULT AddNew(
  IPage*         Page,
  IRegion*       Region,
  VARIANT_BOOL   IsModified,
  IFieldRegion** Result
);
    

Parameters

Page
[in] Refers to the Page object, which contains the page on which the region is located.
Region
[in] Refers to the Region object that specifies the field region located on the corresponding page.
IsModified
[in] Set this variable to TRUE if the field region was moved after applying a Document Definition. Otherwise the value of this parameter is FALSE.
Result
[out, retval] A pointer to the IFieldRegion* variable that receives the interface pointer for the added field region.

Return values

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

See also

FieldRegion

FieldRegions

15.08.2023 13:19:30

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.