Prt.GetRegionList (Method)

Syntax

Prt.GetRegionList

Description

Gets a list of all Tracking regions. After calling the method, the total region count can be obtained from RegionCount and the individual regions may be accessed via the Region function.

Example

Dim prt as new Prt
' Get a list of groups from PRT
'    and display them one by one in a message box.
prt.GetRegionList
for j = 0 to prt.RegionCount - 1
      MsgBox prt.Region(j).Id
next j