Error processing SSI file
LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)

Show in webframe

SplitCells Method








The 0-based index of the zone inside this page IOcrPage.Zones. This zone must exist in the list and its type must be a table (OcrZone.ZoneType must be OcrZoneType.Table) otherwise, this method will throw an exception.
Split direction, if true means split vertically, otherwise; split horizontally.
The cells intersected or contained by this area are selected for this method.
The position of the splitter.
The width of the splitter.
The style of the splitter.
The color of the splitter line.
Split the cells in a given area inside a table zone.
Syntax
'Declaration
 
Sub SplitCells( _
   ByVal zoneIndex As Integer, _
   ByVal vertical As Boolean, _
   ByVal bounds As LogicalRectangle, _
   ByVal splitterPosition As LogicalPoint, _
   ByVal splitterWidth As LogicalLength, _
   ByVal splitterStyle As OcrCellBorderLineStyle, _
   ByVal splitterColor As RasterColor _
) 
'Usage
 
Dim instance As IOcrTableZoneManager
Dim zoneIndex As Integer
Dim vertical As Boolean
Dim bounds As LogicalRectangle
Dim splitterPosition As LogicalPoint
Dim splitterWidth As LogicalLength
Dim splitterStyle As OcrCellBorderLineStyle
Dim splitterColor As RasterColor
 
instance.SplitCells(zoneIndex, vertical, bounds, splitterPosition, splitterWidth, splitterStyle, splitterColor)
function Leadtools.Forms.Ocr.IOcrTableZoneManager.SplitCells( 
   zoneIndex ,
   vertical ,
   bounds ,
   splitterPosition ,
   splitterWidth ,
   splitterStyle ,
   splitterColor 
)

Parameters

zoneIndex
The 0-based index of the zone inside this page IOcrPage.Zones. This zone must exist in the list and its type must be a table (OcrZone.ZoneType must be OcrZoneType.Table) otherwise, this method will throw an exception.
vertical
Split direction, if true means split vertically, otherwise; split horizontally.
bounds
The cells intersected or contained by this area are selected for this method.
splitterPosition
The position of the splitter.
splitterWidth
The width of the splitter.
splitterStyle
The style of the splitter.
splitterColor
The color of the splitter line.
Remarks

Manipulating cells position and size inside a table zone is a very sensitive matter and any non-accurate information will cause an error. The IOcrTableZoneManager contains methods to easily accomplish these tasks with minimum error. These methods are built around what is expected to be accomplished by an application that manipulates the cells of a zone through a user-interface, such as clicking and dragging with the mouse.

The following methods can be used to manipulate the cells position and size:

Requirements

Target Platforms

See Also

Reference

IOcrTableZoneManager Interface
IOcrTableZoneManager Members

Error processing SSI file
Leadtools.Forms.Ocr requires a Recognition or Document Imaging Suite license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features