←Select platform

GetWords(int,int,LogicalUnit) Method

Summary

Gets a list of recognized the words for this zone in the specified units.

Syntax

C#
VB
WinRT C#
C++
public IList<OcrWord> GetWords( 
   int dpiX, 
   int dpiY, 
   LogicalUnit unit 
) 
Overloads Function GetWords( _ 
   ByVal dpiX As Integer, _ 
   ByVal dpiY As Integer, _ 
   ByVal unit As Leadtools.Forms.LogicalUnit _ 
) As IList(Of OcrWord) 
Windows.Foundation.Collections.IVector //In WinRT the IList interface is replaced by IVector<OcrWord> GetWords(  
   int dpiX, 
   int dpiY, 
   Leadtools.Forms.LogicalUnit unit 
) 
function Leadtools.Forms.Ocr.IOcrZoneCharacters.GetWords(Int32,Int32,LogicalUnit)(  
   dpiX , 
   dpiY , 
   unit  
) 
IList<OcrWord>^ GetWords(  
   int dpiX, 
   int dpiY, 
   Leadtools.Forms.LogicalUnit unit 
)  

Parameters

dpiX
Horizontal resolution to use when calculating Bounds if unit is LogicalUnit.Pixels.

dpiY
Vertical resolution to use when calculating Bounds if unit is LogicalUnit.Pixels.

unit
Desired unit to use when calculating Bounds.

Return Value

A list of OcrWord structures that contain the recognized words of this zone.

Remarks

This is a helper method that iterate through the OcrCharacter list of the zone and constructs the words based on the OcrCharacter.Position flags.

The returned words contain bound values in unit.

Example

For an example, refer to IOcrPage.GetRecognizedCharacters.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Ocr Assembly