public Segment GetSegment( int partIndex, int segmentIndex )
Public Function GetSegment( _ ByVal partIndex As Integer, _ ByVal segmentIndex As Integer _ ) As Segment
Parameters
- partIndex
- The index of the part from which to get the segment. Must be less that PartCount. To get the segment from the last part, specify -1 or (PartCount - 1.
- segmentIndex
- The index of the segment to get. Must be less than GetSegmentCount(partIndex). To get the last segment in the part, specify -1 or GetSegmentCount(partIndex) - 1.