Reorder

Reorder(int, IShape)

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

public void Reorder(int index, IShape shape)
ParameterTypeDescription
indexInt32The zero-based target index where the shape will be placed.
shapeIShapeThe IShape to move within the collection.

See Also


Reorder(int, params IShape[])

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

public void Reorder(int index, params IShape[] shapes)
ParameterTypeDescription
indexInt32The zero-based target index where the first specified shape will be placed; subsequent shapes follow in the order provided.
shapesIShape[]One or more IShape instances to move within the collection.

See Also