←Select platform

GetPointInformation Method

Summary
Gets the cell index and the nearest border for a given point.
Syntax
C#
VB
C++
public OcrTablePointInformation GetPointInformation( 
   int zoneIndex, 
   LeadPoint point, 
   LeadSize distance 
) 
Function GetPointInformation( _ 
   ByVal zoneIndex As Integer, _ 
   ByVal point As LeadPoint, _ 
   ByVal distance As LeadSize _ 
) As OcrTablePointInformation 

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

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.