Free Support Forum - aspose.com

Setting ZOrder of ShapeEx

Is there a way to set the ZOrder of a ShapeEx? I don’t see the ZOrder method that is found in the Shape class.

Hi Joseph,

Thanks for your interest in Aspose.Slides.

There are two methods used in ShapesEx class for setting the ZOrder Position of the shape. Please find the necessary details below.

///


/// Moves a shape from the collection to the specified position.
///
/// Target index.
/// Shape to move.
public void Reorder(int index, ShapeEx shape)



///


/// Moves shapes from the collection to the specified position.
/// Shapes will be placed starting from index in order they appear in list.
///
/// Target index.
/// Shapes to move.
public void Reorder(int index, params ShapeEx[] shapes)

Thanks and Regards,