跳转到主要内容
此方法会尽可能将指定块滚动到可见区域内。只有在 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