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

# InvoiceLanguage オブジェクトの Enable メソッド

請求書処理の設定で言語を有効にします。ただし、その言語が、現在有効になっているいずれかの国の [**ICountry::Languages**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/country.md#languages) コレクションに含まれている場合に限ります。この言語を使用する国が 1 つも有効になっていない場合は、エラーが発生します。

## 構文

```vb Visual Basic .NET theme={null}
Sub Enable ()
```

```cpp C++ theme={null}
HRESULT Enable();
```

## 戻り値

このメソッドには固有の戻り値はありません。[ABBYY FlexiCapture SDK 関数の標準の戻り値](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/errorcodes.md)を返します。

## 関連項目

[**InvoiceLanguage**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/invoicelanguage.md)
