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

# TableBlock オブジェクトの Cell プロパティ

このプロパティを使用すると、[表のグリッドの基準座標](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/tableblock-cell.md#remarks)で表したセル座標を指定して、表のセルのブロックにアクセスできます。

## 構文

```vb Visual Basic .NET theme={null}
Property Cell( _
  I As Integer, _
  J As Integer, _
) As Block
  read-only
```

```cpp C++ theme={null}
HRESULT get_Cell(
  int      I,
  int      J,
  IBlock** Result
);
```

## パラメーター

**I**

\[in] この変数には、表のグリッドの基準座標における点の水平座標が格納されます。このパラメーターの値の範囲は 0 ～ [**ITableBlock::BoundColumnsCount**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/tableblock.md#boundcolumnscount) -1 です。

**J**

\[in] この変数には、表のグリッドの基準座標における点の垂直座標が格納されます。このパラメーターの値の範囲は 0 ～ [**ITableBlock::RowsCount**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/tableblock.md#rowscount) -1 です。

**Result**

\[out, retval] セルブロックのインターフェースポインターを受け取る [**IBlock**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/block.md)\*\*\*\*\* 変数へのポインター。

## 戻り値

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

## 解説

ベースグリッドにおけるセルの座標は、そのグリッド内でのセルの左上の角の座標です。ここでいうベースグリッドとは、テーブルの境界線と区切り線によって形成されるグリッドを指します。垂直方向の区切り線を 1 本越えるごとに水平座標が 1 ずつ増加し、水平方向の区切り線を 1 本越えるごとに垂直座標が 1 ずつ増加します。座標軸の向きは、左から右、上から下です。

## 関連項目

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

[Properties の操作](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md)
