GetOwnedByIndex - method of object PmObject
Returns the subobject defined by its index.
GetOwnedByIndex(nIndex As Long) As Object
Set o = oObject.GetOwnedByIndex(nIndex)
|nIndex||(Long) The order (Index) of the subobject (zero-based index). |
Caution: the objects Order does not have to match the order of objects in the object tree!
It is mainly used for multiple changes of subobjects of defined type. For Graphic items
for the same purpose the GetChildByIndex
method can be used.