跳转到主要内容
该属性表示分隔线的类型。分隔线可以是 TableSeparatorTypeEnum 常量定义的五种类型之一。

语法

C++

HRESULT get_Type(
   int                     Index,
   TableSeparatorTypeEnum* Result
);
HRESULT put_Type(
   int                    Index,
   TableSeparatorTypeEnum type
);

C#

TableSeparatorTypeEnum get_Type( int Index );
void set_Type(
   int                    Index,
   TableSeparatorTypeEnum type
);

Visual Basic .NET

Property Type(Index As Integer) As TableSeparatorTypeEnum

参数

Index [in] 一个 int 类型的变量,包含基准网格中分隔线段起始位置的坐标。这里的基准网格是指由表格边框和分隔线构成的网格。每个垂直分隔线都会使水平坐标加一,每个水平分隔线都会使垂直坐标加一。坐标轴方向为从左到右、从上到下。 type [in] 一个 TableSeparatorTypeEnum 类型的变量,包含该属性的新值。 Result [out, retval] 一个指向 TableSeparatorTypeEnum 变量的指针,用于接收该属性的值。不得为 NULL。

返回值

此函数没有特定的返回值。它返回 ABBYY FineReader Engine 函数的标准返回值

备注

分隔线类型不是整个分隔线的属性,而是相邻垂直分隔线交点之间某个分隔线段的属性。因此,该属性由 Index 参数索引。分隔线类型是其在基准网格中坐标为 [Index,Index+1] 的线段的属性。在对表格单元格组执行操作 (合并和拆分) 期间,表格分隔线的类型会自动校正。

另请参阅

TableSeparator TableSeparatorTypeEnum SetType 使用属性