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

# TableSeparator オブジェクトの Type プロパティ

> ABBYY FineReader Engine API における TableSeparator オブジェクトの Type プロパティ — TableSeparatorTypeEnum 定数で定義される、セグメントごとの区切り線の種類を格納します。

このプロパティは、区切り線の種類を格納します。区切り線の種類には、[TableSeparatorTypeEnum](/ja/fine-reader/engine/api-reference/enumerations/tableseparatortypeenum) 定数で定義される 5 種類があります。

<div id="syntax">
  ## 構文
</div>

<div id="c">
  ### C++
</div>

```cpp theme={null}
HRESULT get_Type(
   int                     Index,
   TableSeparatorTypeEnum* Result
);
HRESULT put_Type(
   int                    Index,
   TableSeparatorTypeEnum type
);
```

### C\#

```csharp theme={null}
TableSeparatorTypeEnum get_Type( int Index );
void set_Type(
   int                    Index,
   TableSeparatorTypeEnum type
);
```

<div id="visual-basic-net">
  ### Visual Basic .NET
</div>

```vb theme={null}
Property Type(Index As Integer) As TableSeparatorTypeEnum
```

<div id="parameters">
  ## パラメーター
</div>

Index

\[in] ベースグリッド内で区切り線セグメントの開始位置の座標を格納する `int` 型の変数です。ここでいうベースグリッドとは、表の罫線と区切り線で構成されるグリッドを指します。垂直方向の各区切り線ごとに水平方向の座標が 1 ずつ増加し、水平方向の各区切り線ごとに垂直方向の座標が 1 ずつ増加します。座標軸は、左から右、上から下の向きです。

type

\[in] プロパティの新しい値を格納する [TableSeparatorTypeEnum](/ja/fine-reader/engine/api-reference/enumerations/tableseparatortypeenum) 型の変数です。

Result

\[out, retval] プロパティの値を受け取る [TableSeparatorTypeEnum](/ja/fine-reader/engine/api-reference/enumerations/tableseparatortypeenum) 型変数へのポインターです。NULL であってはなりません。

<div id="return-values">
  ## 戻り値
</div>

この関数には固有の戻り値はありません。返されるのは、[ABBYY FineReader Engine 関数の標準戻り値](/ja/fine-reader/engine/api-reference/return-codes)です。

<div id="remarks">
  ## 備考
</div>

区切り線の種類は、区切り線全体の属性ではなく、直交する区切り線との隣接する交点間にある 1 つの区切り線セグメントの属性です。したがって、このプロパティには Index Parameter によるインデックスが付けられます。区切り線の種類は、ベースグリッド内の座標 \[Index,Index+1] に対応するセグメントの属性です。表の区切り線の種類は、表セルのグループに対する操作 (結合および分割) の際に自動的に補正されます。

<div id="see-also">
  ## 関連項目
</div>

[TableSeparator](/ja/fine-reader/engine/api-reference/layout-related-objects/tableseparator)

[TableSeparatorTypeEnum](/ja/fine-reader/engine/api-reference/enumerations/tableseparatortypeenum)

[SetType](/ja/fine-reader/engine/api-reference/layout-related-objects/tableseparator/settype-method)

[Properties の使用](/ja/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties)
