跳转到主要内容
参数说明
Distance LineWidth( Int n )文本行(索引为 n)的矩形宽度。
Distance LineHeight( Int n )文本行(索引为 n)的矩形高度。
Int LineCount()返回在 SearchText 中指定且与找到的字符串匹配的字符串中的关键字数量。
Int KeywordCount()假设文本中的行数。
Rect LineRect( Int n )文本行(索引为 n)的矩形。注意: 通过此函数获得的矩形按其在页上的位置自上而下排序。索引较小的矩形位于页的较上方(索引从 0 到 LineCount() - 1)。
String Keyword( Int index )按索引检索在 SearchText 中指定且与找到的字符串匹配的字符串中的关键字。索引从 0 开始。
String Value()假设区域内图像上识别到的文本值。
XCoordinate LineLeft( Int n )文本行(索引为 n)的矩形最左点的 X 坐标。
XCoordinate LineRight( Int n )文本行(索引为 n)的矩形最右点的 X 坐标。
XCoordinate LineXCenter( Int n )文本行(索引为 n)的矩形中心的 X 坐标。
YCoordinate LineBottom( Int n )文本行(索引为 n)的矩形底部点的 Y 坐标。
YCoordinate LineTop( Int n )文本行(索引为 n)的矩形最上点的 Y 坐标。
YCoordinate LineYCenter( Int n )文本行(索引为 n)的矩形中心的 Y 坐标。