DetectBlocks Method of the PageDefinition Object

This method detects blocks of the specified type within the specified region and adds them to the page definition. Please note that it does not guarantee that all the blocks will be detected correctly.


Visual Basic .NET

Sub DetectBlocks( _
  Region As Region, _
  AutodetectBlockTypes As IntsCollection _


HRESULT DetectBlocks(
  IRegion*          Region,
  IIntsCollection* AutodetectBlockTypes


[in] Refers to the Region object, which specifies the new region of the block.
[in] This variable refers to a collection of block types that must be detected, represented by the constants of BlockTypeEnum cast to Integer.

Return values

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

See also


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.