←Select platform

GetPointInformation Method

Summary
Gets the cell index and the nearest border for a given point.
Syntax
C#
C++/CLI
Python
public OcrTablePointInformation GetPointInformation( 
   int zoneIndex, 
   LeadPoint point, 
   LeadSize distance 
) 
def GetPointInformation(self,zoneIndex,point,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

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

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