Role: To query the logical line object's from/to members.
Methods
- Sub GetFromTo( oListFromMajor, oListFromMinor, oListToMajor, oListToMinor)
-
Retrieves the lists of major and minor from/to members from this line.
The members retrieved are all objects.- Parameters:
-
- oListFromMajor
- The list of major from members dd>
- oListFromMinor
- The list of minor from members dd>
- oListToMajor
- The list of major to members dd>
- oListToMinor
- The list of minor to members dd>
- Example:
-
Dim objThisIntf As PspLogicalLine Dim objArg1 As PspListOfObjects Dim objArg2 As PspListOfObjects Dim objArg3 As PspListOfObjects Dim objArg4 As PspListOfObjects ... objThisIntf.GetFromTo objArg1, objArg2, objArg3, objArg4
- Func GetFromToInfoArrayMaxSize() As
-
Returns the maximum possible size of the from-to information.
- Returns:
- The maximum possible size of the array to hold the information returned by dd>
- Example:
-
Dim objThisIntf As PspLogicalLine Dim intValueMaxSize As Integer ... intValueMaxSize = objThisIntf.GetFromToInfoArrayMaxSize
- Sub GetFromToInformation( oFromToLabel, oFTMajor, oFTMinor, oSizeOfOutput)
-
Retrieves the from/to information of a logical line.
- Parameters:
-
- oFromToLabel
- The array of labels ("From" or "To") dd>
- oFTMajor
- The array of from/to major IDs dd>
- oFTMinor
- The array of from/to minor IDs dd>
- The
- size of the output arrays dd>
- Example:
-
Dim objThisIntf As PspLogicalLine Dim strFromToLabel(20) As String Dim strFromToMajor(20) As String Dim strFromToMinor(20) As String Dim intValueMaxSize As Integer intValueMaxSize = objThisIntf.GetFromToInfoArrayMaxSize ... '---- make sure the array size if big enough If (intValueMaxSize ≤ 20) Then objThisIntf.GetFromToInformation _ strFromToLabel, strFromToMajor, strFromToMinor, intValueMaxSize End If The following table can then be filled with the output arrays. From/To | F/T Major | F/T Minor strFromToLabel(i) | strFromToMajor(i) | strFromToMinor(i)