ToArray()

IShapeCollection::ToArray() method

Creates and returns an array that contains all shapes.

virtual System::ArrayPtr<System::SharedPtr<IShape>> Aspose::Slides::IShapeCollection::ToArray()=0

Return Value

An array of IShape objects.

IShapeCollection::ToArray(int32_t, int32_t) method

Creates and returns an array that contains all shapes in the specified range.

virtual System::ArrayPtr<System::SharedPtr<IShape>> Aspose::Slides::IShapeCollection::ToArray(int32_t startIndex, int32_t count)=0

Arguments

ParameterTypeDescription
startIndexint32_tThe index of the first shape to return.
countint32_tThe number of shapes to return.

Return Value

An array of IShape objects.

See Also