Gets the zero-based index of the zone under a certain point.
int HitTestZone(
Leadtools.LeadPoint point
)
Function HitTestZone( _
ByVal point As Leadtools.LeadPoint _
) As Integer
int HitTestZone(
Leadtools.LeadPoint point
)
function Leadtools.Forms.Ocr.IOcrPage.HitTestZone(
point
)
int HitTestZone(
Leadtools.LeadPoint point
)
point
The test point in pixels.
The zero-based index of the zone under point, if no zone is under the test point, this method will return -1.
You can use this method to check whether a zone (either added manually or automatically) is under a given test point. For example, if you have a Windows Forms based application with the current IOcrPage in a ImageViewer control. You might want to draw the zones on the surface of the viewer. For this, you can use the GetZoneBoundsInPixels methods. If you want to allow the user to click with the mouse on the viewer to select and de-select zones, you can use HitTestZone.
Products |
Support |
Feedback: HitTestZone Method - Leadtools.Forms.Ocr |
Introduction |
Help Version 19.0.2017.6.6
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.