Leadtools.Document Deprecated as of v16. Refer to: Leadtools.Forms.Ocr | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
GetZoneCount Method
See Also 
Leadtools.Document Namespace > RasterDocumentEngine Class : GetZoneCount Method



pageIndex
Specifies the index of the page for which to get the number of zones.
pageIndex
Specifies the index of the page for which to get the number of zones.
Gets the number of zones in the zone list of the specified page.

Syntax

Visual Basic (Declaration) 
Public Function GetZoneCount( _
   ByVal pageIndex As Integer _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As RasterDocumentEngine
Dim pageIndex As Integer
Dim value As Integer
 
value = instance.GetZoneCount(pageIndex)
C# 
public int GetZoneCount( 
   int pageIndex
)
C++/CLI 
public:
int GetZoneCount( 
   int pageIndex
) 

Parameters

pageIndex
Specifies the index of the page for which to get the number of zones.

Return Value

Number of zones in the zone list of the specified page

Example

Refer to AddZone example.

Remarks

For more information, refer to Working with Zones.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

The Leadtools.Document namespace is deprecated and no longer supported as of LEADTOOLS v16. For v16 and later, please refer to: Leadtools.Forms.Ocr. This documentation is retained for v15 and earlier informational use only.