Inserts a new item into a list at a specified position.
ISVGTransform retVal = object.insertItemBefore(newItem, index);
- newItem [in]
The item to insert into the list.
- index [in]
The index of the item that the newItem item is inserted before. The first item is number 0. If index equals 0, the new item is inserted at the front of the list. If the index is greater than or equal to ISVGLengthList::numberOfItems, the new item is appended to the end of the list.
- Scalable Vector Graphics: Basic Data Types and Interfaces, Section 4.5.4
If the newItem item is already in a list, the ISVGLengthList::insertItemBefore method removes it from its previous list before it is inserted into this list.