PrtGroup.Region (Function)

Syntax

PrtGroup.Region(index )

Description

Returns a region at the specified index from the list that was found by a previous call to GetRegionList.

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