LayoutBlocks Object (ILayoutBlocks Interface)

This object represents a collection of layout blocks (Block objects). It is a subobject of a Layout object, and it serves as a storage of Layout blocks.

The object provides standard collection functionality. See Working with Collections for details.


  • The indexing of ABBYY FineReader Engine collections starts with 0.
  • The foreach statement in C# (for each in Visual Basic .NET) can be used to manipulate the collection.


Name Type Description
Application Engine, read-only Returns the Engine object.
Count int, read-only Stores the number of elements in the collection.
Element Block, read-only Provides access to a single element of the collection.


Name Description
AddNew Creates a block object of the specified type and adds it into the collection.
DeleteAll Removes all the elements from the collection.
DeleteAt Removes an element from the collection.
IndexOf Returns the index of a block in the collection.
Item Provides access to an element of the collection.

Related objects

Object Diagram


C# code

The object is used in the following code samples: RecognizedTextProcessing, CustomLanguage; and demo tools: Camera OCR, Engine Predefined Processing Profiles, Image Preprocessing.

See also



Working with Layout and Blocks

Working with Collections

Working with Properties

03.07.2024 8:50:43

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.