←Select platform

GetPointInformation Method

Summary

Gets the cell index and the nearest border for a given point.

Syntax

C#
VB
C++
Function GetPointInformation( _ 
   ByVal zoneIndex As Integer, _ 
   ByVal point As Leadtools.Forms.LogicalPoint, _ 
   ByVal distance As Leadtools.Forms.LogicalSize _ 
) As Leadtools.Forms.Ocr.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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Forms.Ocr Assembly
Click or drag to resize