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

# TextEditor オブジェクトの ShowBlock メソッド

> Windows 上の ABBYY FineReader Engine Visual Components における TextEditor オブジェクトの ShowBlock メソッド — このメソッドは、指定したブロックが表示されるように、可能な範囲で表示位置を移動します。

このメソッドは、指定したブロックが表示されるように、可能な範囲で表示位置を移動します。このメソッドが有効なのは、Text Editor が [TEM\_ExactCopy](/ja/fine-reader/engine/visual-components-reference/enumerations/texteditormodeenum) モードで使用されている場合のみです。

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

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

```cpp theme={null}
HRESULT ShowBlock(
  int BlockIndex,
  int CellIndex
);
```

### C\#

```csharp theme={null}
void ShowBlock(
  int BlockIndex,
  int CellIndex
);
```

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

```vb theme={null}
Sub ShowBlock( _
  BlockIndex As Integer, _
  CellIndex As Integer _
)
```

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

BlockIndex

\[in] 表示するブロックのインデックスを指定します。このインデックスは [ILayout::VisualBlocks](/ja/fine-reader/engine/api-reference/layout-related-objects/layout#visualblocks) コレクション内のものです。

CellIndex

\[in] テーブルセルのインデックスを指定します。テーブルブロック以外を表示する場合は、このパラメーターの値を -1 に設定する必要があります。

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

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

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

[TextEditor](/ja/fine-reader/engine/visual-components-reference/texteditor)
