Chinese Simplified (简体中文)

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.

Notes:

  • 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.

Properties

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.

Methods

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

Samples

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

Block

Layout

Working with Layout and Blocks

Working with Collections

Working with Properties

17.09.2024 15:14:41

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.