Blocks Object (IBlocks Interface)

This object represents a collection of blocks. It may exist as subobject of the Page or Block object, and serves as a storage of page blocks or a storage of child blocks of the block, respectively.

The Blocks object is a so-called "connectable object". The methods of the Blocks object report information about the collection modification through special outgoing interfaces. These interfaces are ICollectionEvents (for C++) and the dispinterface DICollectionEvents (for Visual Basic). It should be noted that Visual Basic users should not care for details of implementing event interfaces, as this development platform provides easy means for handling them.

Properties

Name Type Description
Count Integer, 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
Item Provides access to a Block object in the collection.

Related objects

See also

Block

Working with Collections

ICollectionEvents

Working with Connectable Objects

BlocksCollection

Working with Properties

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.