reorder method

reorder

Moves the specified shape to a new position within the shape collection.

def reorder(self, index, shape):
    ...
ParameterTypeDescription
indexintThe zero-based target index where the shape will be placed.
shapeIShapeThe IShape to move within the collection.

reorder

Moves the specified shapes within the shape collection, placing them starting at the given index.

def reorder(self, index, shapes):
    ...
ParameterTypeDescription
indexintThe zero-based target index where the first specified shape will be placed;

subsequent shapes follow in the order provided.
shapesList[IShape]One or more IShape instances to move within the collection.

See Also