LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)
LEAD Technologies, Inc

MergeCells 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.
The cells intersected or contained by this area are selected for this method.
Merges the selected cells if they make up a rectangle. .NET support
Syntax
void MergeCells( 
   int zoneIndex,
   LogicalRectangle bounds
)
'Declaration
 
Sub MergeCells( _
   ByVal zoneIndex As Integer, _
   ByVal bounds As LogicalRectangle _
) 
'Usage
 
Dim instance As IOcrTableZoneManager
Dim zoneIndex As Integer
Dim bounds As LogicalRectangle
 
instance.MergeCells(zoneIndex, bounds)
void MergeCells( 
   int zoneIndex,
   LogicalRectangle bounds
)
function Leadtools.Forms.Ocr.IOcrTableZoneManager.MergeCells( 
   zoneIndex ,
   bounds 
)
void MergeCells( 
   int zoneIndex,
   LogicalRectangle bounds
) 

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.
bounds
The cells intersected or contained by this area are selected for this method.
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IOcrTableZoneManager Interface
IOcrTableZoneManager Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

MergeCells requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features