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

GetPointInformation 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 point inquired.
Maximum distance threshold to use.
Gets the cell index and the nearest border for a given point. .NET support
Syntax
OcrTablePointInformation GetPointInformation( 
   int zoneIndex,
   LogicalPoint point,
   LogicalSize distance
)
'Declaration
 
Function GetPointInformation( _
   ByVal zoneIndex As Integer, _
   ByVal point As LogicalPoint, _
   ByVal distance As LogicalSize _
) As OcrTablePointInformation
'Usage
 
Dim instance As IOcrTableZoneManager
Dim zoneIndex As Integer
Dim point As LogicalPoint
Dim distance As LogicalSize
Dim value As OcrTablePointInformation
 
value = instance.GetPointInformation(zoneIndex, point, distance)
OcrTablePointInformation GetPointInformation( 
   int zoneIndex,
   LogicalPoint point,
   LogicalSize distance
)
function Leadtools.Forms.Ocr.IOcrTableZoneManager.GetPointInformation( 
   zoneIndex ,
   point ,
   distance 
)
OcrTablePointInformation GetPointInformation( 
   int zoneIndex,
   LogicalPoint point,
   LogicalSize distance
) 

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.
point
The point inquired.
distance
Maximum distance threshold to use.

Return Value

An OcrTablePointInformation that contains the cell index and nearest border of the given point.
Remarks

If the distance of point from the left or right border and top or right border is less than this, then the output nearest border value (OcrTablePointInformation.NearestBorder) will be the nearest one. Otherwise, if the distance is greater than distance, the value of OcrTablePointInformation.NearestBorder will be OcrCellBorder.NoBorder.

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.

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