ITrkItemAgent.GetEndLocation (method)

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

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

Example:
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
...
...
...