public void InsertSegments( int partIndex, int beforeSegmentIndex, IEnumerable<Segment> segments )
Public Sub InsertSegments( _ ByVal partIndex As Integer, _ ByVal beforeSegmentIndex As Integer, _ ByVal segments As IEnumerable(Of Segment) _ )
Parameters
- partIndex
- The index of the part into which the segments will inserted. Must be less than PartCount. Specify -1 or (PartCount - 1) to remove the last part.
- beforeSegmentIndex
- The index before which the segments will be inserted. Must be less than or equal to GetSegmentCount(partIndex). Specify -1 or GetSegmentCount(partIndex) to insert at the end of the part.
- segments
- The segments to insert.