←Select platform

GetSortedZonesIndexMap Method

Summary

Generates an array that contains zone indices listed such that the corresponding zones are in order from top to bottom and left to right. The first zone's index in the array corresponds to the top-left zone while the last zone's index in the array corresponds to the bottom-right zone.

Syntax
C#
C++/CLI
Python
public int[] GetSortedZonesIndexMap( 
   OcrPageSortedZonesIndexMapOptions options 
) 
public:  
   array<Int32>^ GetSortedZonesIndexMap( 
      OcrPageSortedZonesIndexMapOptions^ options 
   ) 
def GetSortedZonesIndexMap(self,options): 

Parameters

options

Specifies criteria that should be considered while sorting the zones.

Return Value

Returns an array of integer values for zone indices.

Remarks

This method does not change the index of any zone. It virtually sorts the zones from top to bottom and left to right, then it reports the indices of the virtually sorted zones. The first zone's index reported is the first top-left zone and the last zone's index reported is the last bottom-right zone.

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.