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

# ShowBlock Method of the TextEditor Object

> ShowBlock method of the TextEditor Object in ABBYY FineReader Engine Visual Components on Windows — This method moves the specified block into view (as far as possible).

This method moves the specified block into view (as far as possible). This method makes sense only if Text Editor is used in the [TEM\_ExactCopy](/fine-reader/engine/visual-components-reference/enumerations/texteditormodeenum) mode.

## Syntax

### C++

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

### C\#

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

### Visual Basic .NET

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

## Parameters

BlockIndex

\[in] Contains the index of the block to be shown. The index is in the [ILayout::VisualBlocks](/fine-reader/engine/api-reference/layout-related-objects/layout#visualblocks) collection.

CellIndex

\[in] Contains the index of a table cell. If other than table block has to be shown, the value of this parameter must be set to -1.

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FineReader Engine functions](/fine-reader/engine/api-reference/return-codes).

## See also

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