跳轉到主要內容
這個方法會將指定的區塊捲動到可視範圍內 (在可能情況下盡量完整顯示) 。只有在 Text Editor 以 TEM_ExactCopy 模式使用時,這個方法才有意義。

語法

C++

HRESULT ShowBlock(
  int BlockIndex,
  int CellIndex
);

C#

void ShowBlock(
  int BlockIndex,
  int CellIndex
);

Visual Basic .NET

Sub ShowBlock( _
  BlockIndex As Integer, _
  CellIndex As Integer _
)

參數

BlockIndex [in] 指定要顯示之區塊的索引。該索引位於 ILayout::VisualBlocks 集合中。 CellIndex [in] 指定表格儲存格的索引。若要顯示的不是表格區塊,則此參數的值必須設為 -1。

回傳值

此方法沒有特定的回傳值。它會回傳 ABBYY FineReader Engine 函式的標準回傳值

另請參閱

TextEditor