> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# StringsCollection Object (IStringsCollection Interface)

This object represents a collection of strings. It serves as a storage to pass various sets of parameters into those FineReader Engine functions that require them. It may also be return value of FineReader Engine methods.

* 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](/fine-reader/engine/api-reference/engine-object-iengine-interface), [read-only](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties#readonly_properties) | Returns the Engine object.                             |
| Count                                                                                                                 | [int](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties), read-only                                                                                             | Stores the number of elements in the collection.       |
| [Element](/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/element-property) | [BSTR](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties)                                                                                                       | Provides access to a single element of the collection. |

## Methods

| Name                                                                                                                    | Description                                                                                       |
| ----------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
| [Add](/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/add-method)             | Adds the specified string at the end of the collection.                                           |
| [CopyFrom](/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/copyfrom-method)   | Initializes properties of the current object with values of similar properties of another object. |
| [DeleteAll](/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/deleteall-method) | Removes all elements from the collection.                                                         |
| [DeleteAt](/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/deleteat-method)   | Removes an element from the collection.                                                           |
| [InsertAt](/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/insertat-method)   | Inserts the specified string into the specified position in the collection.                       |
| [Item](/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/item-method)           | Provides access to a single element of the collection.                                            |

## Output parameter

This object is the output parameter of the following methods and properties:

* [CreateStringsCollection](/fine-reader/engine/api-reference/engine-object-iengine-interface/creation-methods/createlessobjectgreater-methods) method of the [Engine](/fine-reader/engine/api-reference/engine-object-iengine-interface) object
* [PDFFontNames](/fine-reader/engine/api-reference/document-related-objects/frdocument#pdffontnames) property, [ExportPages](/fine-reader/engine/api-reference/document-related-objects/frdocument/exportpages-method) method of the [FRDocument](/fine-reader/engine/api-reference/document-related-objects/frdocument) object
* [CategoryLabels](/fine-reader/engine/api-reference/classification-related-objects/model#categorylabels), [Languages](/fine-reader/engine/api-reference/classification-related-objects/model#languages) properties of the [Model](/fine-reader/engine/api-reference/classification-related-objects/model) object
* [AxisLabels](/fine-reader/engine/api-reference/classification-related-objects/confusionmatrix#axislabels) property of the [ConfusionMatrix](/fine-reader/engine/api-reference/classification-related-objects/confusionmatrix) object
* [Scan](/fine-reader/engine/api-reference/mechanism-objects/scansource/scan-method) method of the [ScanSource](/fine-reader/engine/api-reference/mechanism-objects/scansource) object (Windows)

## Input parameter

This object is passed as an input parameter to the following methods:

* [AddWords](/fine-reader/engine/api-reference/language-related-objects/dictionary/addwords-method), [DeleteWords](/fine-reader/engine/api-reference/language-related-objects/dictionary/deletewords-method) methods of the [Dictionary](/fine-reader/engine/api-reference/language-related-objects/dictionary) object
* [MergePatterns](/fine-reader/engine/api-reference/engine-object-iengine-interface/supplementary-methods/mergepatterns-method) method of the [Engine](/fine-reader/engine/api-reference/engine-object-iengine-interface) object

## Samples

The object is used in the following code samples:

* Linux: [CommandLineInterface](/fine-reader/engine/guided-tour/samples#commandlineinterface)
* Windows: [CommandLineInterface](/fine-reader/engine/guided-tour/samples#commandlineinterface), and demo tools: [Classification](/fine-reader/engine/guided-tour/samples#classification)

## See also

[Working with Collections](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-collections)

[Working with Properties](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties)
