Paragraphs Object (IParagraphs Interface)
This object provides access to the collection of recognized text paragraphs.
Besides standard collection methods and properties, it contains the IndexOf method that allows you to find paragraph index in the collection given a pointer to Paragraph object. The collection is accessible via the Text object.
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 | Paragraph, read-only | Provides access to a single element of the collection. |
Methods
Name | Description |
---|---|
IndexOf | Returns the index of a paragraph in the collection. |
Item | Provides access to a single element of the collection. |
Related objects
Samples
The object is used in the following code samples: CustomLanguage, RecognizedTextProcessing; and demo tools: Camera OCR, Engine Predefined Processing Profiles, Image Preprocessing.
See also
17.09.2024 15:14:40