Reorder()

IShapeCollection::Reorder(int32_t, System::SharedPtr<IShape>) method

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

virtual void Aspose::Slides::IShapeCollection::Reorder(int32_t index, System::SharedPtr<IShape> shape)=0

Arguments

ParameterTypeDescription
indexint32_tThe zero-based target index where the shape will be placed.
shapeSystem::SharedPtr<IShape>The IShape to move within the collection.

IShapeCollection::Reorder(int32_t, const System::ArrayPtr<System::SharedPtr<IShape>>&) method

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

virtual void Aspose::Slides::IShapeCollection::Reorder(int32_t index, const System::ArrayPtr<System::SharedPtr<IShape>> &shapes)=0

Arguments

ParameterTypeDescription
indexint32_tThe zero-based target index where the first specified shape will be placed; subsequent shapes follow in the order provided.
shapesconst System::ArrayPtr<System::SharedPtr<IShape>>&One or more IShape instances to move within the collection.

See Also