LEADTOOLS OCR (Leadtools.Forms.Ocr assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
FindZoneCharacters Method
See Also 
Leadtools.Forms.Ocr Namespace > IOcrPageCharacters Interface : FindZoneCharacters Method



zoneIndex
Zero-based index of the required zone.

The FindZoneCharacters Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

zoneIndex
Zero-based index of the required zone.
Gets the character collection for the specified zone index.

Syntax

Visual Basic (Declaration) 
Function FindZoneCharacters( _
   ByVal zoneIndex As Integer _
) As IOcrZoneCharacters
Visual Basic (Usage)Copy Code
Dim instance As IOcrPageCharacters
Dim zoneIndex As Integer
Dim value As IOcrZoneCharacters
 
value = instance.FindZoneCharacters(zoneIndex)
C# 
IOcrZoneCharacters FindZoneCharacters( 
   int zoneIndex
)
C++/CLI 
IOcrZoneCharacters^ FindZoneCharacters( 
   int zoneIndex
) 

Parameters

zoneIndex
Zero-based index of the required zone.

Return Value

An IOcrZoneCharacters collection containing the characters for the specified zone.

Example

For an example, refer to IOcrPage.GetRecognizedCharacters.

Remarks

Each IOcrPageCharacters contain a collection of the collection of characters for each zone. To get the characters of a particular zone you can either iterate through all the members of IOcrPageCharacters and find the item with IOcrZoneCharacters.ZoneIndex equal to zoneIndex, or you can use the FindZoneCharacters helper method to get the same value.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

FindZoneCharacters requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features