Leadtools.Document Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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.
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
)
Managed Extensions for 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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Documentrequires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features