SetType Method of the TableSeparator Object

This method sets separator type. Separators may be of five types as defined by TableSeparatorTypeEnum enumeration constants.

Syntax

C++

HRESULT SetType(
  int                    Coord,
  TableSeparatorTypeEnum NewType,
  int                    Count
);
    

C#

void SetType(
  int                    Coord,
  TableSeparatorTypeEnum NewType,
  int                    Count
);
    

Visual Basic .NET

Sub SetType( _
  Coord As Integer, _
  NewType As TableSeparatorTypeEnum, _
  [Count As Integer = 1] _
)
    

Parameters

Coord
[in] A variable that contains coordinate of the beginning of the separator segment in a base grid. By the base grid here we assume the grid formed by table borders and separators. Each vertical separator increments the horizontal coordinate by one, and each horizontal separator increments the vertical coordinate by one. Coordinate axes are oriented from left to right and from top to bottom.
NewType
[in]  A variable of type TableSeparatorTypeEnum that contains the value for the new separator type.
Count
[in] A variable that contains a number of segments for which to set the new type. This is optional parameter. Default value for it is 1.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

Remarks

Separator type is not an attribute of the whole separator but of a single separator segment between the adjacent intersections with perpendicular separators. Therefore one of the input parameters for this method is Coord parameter. Separator type is set for the segment with coordinates [Coord,Coord+Count] in a base grid. It is prohibited to change the type of separator inside a merged cells (it should be TST_Absent), and it is prohibited to set the type of separator to the TST_Absent value.

See also

TableSeparatorTypeEnum

ITableSeparator::Type

24.03.2023 8:51:52

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.