Chinese Simplified (简体中文)

Toolbar Object (IToolbar Interface)

The Toolbar object represents a toolbar of a Visual Component.

The following Visual Components have a toolbar: ImageViewer, TextEditor, DocumentViewer. See the list of available commands and the commands which can be used in the toolbar:

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
Count int, read-only Retrieves the number of elements in the toolbar. The elements are buttons and separators.
Element MenuItemEnum, read-only Returns the identifier of the toolbar element with the specified index.

Methods

Name Description
Delete Removes the specified button or separator from the toolbar.
DeleteAll Removes all elements from the toolbar.
DeleteAt Removes the element with the specified position from the toolbar.
Has Allows you to find out whether the toolbar contains a button for the specified command.
InsertAt Inserts the specified button or separator into the specified position in the toolbar.
Item Returns the MenuItemEnum constant corresponding to the toolbar element with the specified position.

See also

IImageViewer::Toolbar

ITextEditor::Toolbar

IDocumentViewer::Toolbar

Customizing the Context Menu and Toolbar of a Visual Component

Working with Collections

Working with Properties

24.03.2023 8:51:52

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.