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

# SpellReplacementCollection Object (ISpellReplacementCollection Interface)

> SpellReplacementCollection object (ISpellReplacementCollection interface) in ABBYY FineReader Engine Visual Components on Windows — This object represents a collection of words pairs, represented by the SpellReplacement...

<Warning>
  Visual Components are implemented in FRE for Windows.
</Warning>

This object represents a collection of words pairs, represented by the [SpellReplacement](/fine-reader/engine/visual-components-reference/supplementary-objects/spellreplacement) objects. This object exposes the standard collection functionality.

* 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](/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) | [SpellReplacement](/fine-reader/engine/visual-components-reference/supplementary-objects/spellreplacement), [read-only](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties#readonly_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 a new element 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 the 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 a new element 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.                                            |

## See also

[SpellReplacement](/fine-reader/engine/visual-components-reference/supplementary-objects/spellreplacement)

[ITextValidator::ReplacedWords](/fine-reader/engine/visual-components-reference/textvalidator#replacedwords)

[ITextValidator::AutoReplacedWords](/fine-reader/engine/visual-components-reference/textvalidator#autoreplacedwords)

[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)
