PrtGroup.RegionCount (Property Read)

Syntax

PrtGroup.RegionCount

Description

Integer property contains a count of the number of Tracking Regions found by a prior GetRegionList call.

Example

Dim main as new PrtGroup

main.Id = "MAIN"

' Get a list of regions from a PRT group

'    and display them one by one in a message box.

main.GetRegionList

for j = 0 to main.RegionCount - 1

      MsgBox main.Region(j).Id

next j

More information

PRT Object Model member list.