LEADTOOLS OCR (Leadtools.Forms.Ocr assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
GetPointInformation Method
See Also 
Leadtools.Forms.Ocr Namespace > IOcrTableZoneManager Interface : GetPointInformation Method



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.
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.
Gets the cell index and the nearest border for a given point.

Syntax

Visual Basic (Declaration) 
Function GetPointInformation( _
   ByVal zoneIndex As Integer, _
   ByVal point As LogicalPoint, _
   ByVal distance As LogicalSize _
) As OcrTablePointInformation
Visual Basic (Usage)Copy Code
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)
C# 
OcrTablePointInformation GetPointInformation( 
   int zoneIndex,
   LogicalPoint point,
   LogicalSize distance
)
C++/CLI 
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: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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