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

# BaseLanguages Object (IBaseLanguages Interface)

This object is a collection of base languages ([BaseLanguage](/fine-reader/engine/api-reference/language-related-objects/baselanguage) objects). It contains methods for getting the number of languages in collection, accessing a single element in collection and iterating through a collection. The collection is accessible via the [TextLanguage](/fine-reader/engine/api-reference/language-related-objects/textlanguage) object.

* 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) | [BaseLanguage](/fine-reader/engine/api-reference/language-related-objects/baselanguage), [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                                                        |
| ----------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
| [AddNew](/fine-reader/engine/api-reference/supplementary-objects-and-methods/addnew-method)                             | Creates a new BaseLanguage object and adds it into the collection. |
| [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.                            |
| [Item](/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/item-method)           | Provides access to a single element of the collection.             |

## Related objects

<img src="https://mintcdn.com/abbyy/6udH-pkk8zkVafYH/images/fine-reader/engine/baselanguages.gif?s=d1bd421b8512f7c1e017913655f75558" alt="BaseLanguages" width="166" height="93" data-path="images/fine-reader/engine/baselanguages.gif" />[](/fine-reader/engine/api-reference/language-related-objects/textlanguage#baselanguages)[](/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/element-property)[](/fine-reader/engine/api-reference/language-related-objects/baselanguage)[](/fine-reader/engine/api-reference/language-related-objects/textlanguage)

[Object Diagram](/fine-reader/engine/api-reference/object-diagram)

## Samples

The object is used in the following code samples for Linux and Windows: [CustomLanguage](/fine-reader/engine/guided-tour/samples#customlanguage)

## See also

[TextLanguage](/fine-reader/engine/api-reference/language-related-objects/textlanguage)

[BaseLanguage](/fine-reader/engine/api-reference/language-related-objects/baselanguage)

[Working with Languages](/fine-reader/engine/guided-tour/advanced-techniques/working-with-languages)

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