ITrkItemAgent.GetEndLocation (method)

method GetEndLocation
Syntax: Long = object.GetEndLocation ( nIndex )
nIndex As Long -

Index within the region list to return the region end location.
The GetEndLocation method will return the region end location at the specified index within the region list specified by the criteria.

Dim oTrkItemAgent As Object
Dim oTrkItems As Object
Dim oTrkItem As Object
Set oTrkItemAgent = CreateObject("Tracker.TrkItemAgent")
oTrkItemAgent.AddRegion "A_TP1", -3, -3, "PROJ1"
oTrkItemAgent.AddRegion "C_TP1", -1, -1, "PROJ2"
MsgBox oTrkItemAgent.GetEndLocation(1) // -3