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

# LetterSet Property of the SimpleLanguage Object

Every simple recognition language is characterized by a number of letter sets. These types are described by the [**LanguageLetterSetEnum**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/languagelettersetenum.md) enumeration constants values. This property provides access to these letter sets. It allows you to get and set a specified letter set in a form of a string containing the letter set characters.

## Syntax

```vb Visual Basic .NET theme={null}
Property LetterSet(type As LanguageLetterSetEnum) As String
```

```cpp C++ theme={null}
HRESULT get_LetterSet(
   LanguageLetterSetEnum type,
   BSTR*                 pVal
);
HRESULT put_LetterSet(
   LanguageLetterSetEnum type,
   BSTR                  newVal
);
```

## Parameters

**type**

\[in] A variable of [**LanguageLetterSetEnum**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/languagelettersetenum.md) type that describes the type of the letter set that you want to get or set.

**pVal**

\[out, retval] A pointer to **BSTR** variable that receives the value of this property. Must not be NULL.

**newVal**

\[in] A variable of **BSTR** type that contains the new value of the property.

## Return values

This function has no specific return values. It returns the [standard return values of ABBYY FlexiCapture SDK functions](https://docs.abbyy.com/flexi-capture/sdk/api-reference/errorcodes.md).

## See also

[**SimpleLanguage**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/simplelanguage.md)

[**LanguageLetterSetEnum**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/languagelettersetenum.md)

[Working with Properties](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md)
