ToArray()

ShapeCollection::ToArray() method

Creates and returns an array that contains all shapes.

System::ArrayPtr<System::SharedPtr<IShape>> Aspose::Slides::ShapeCollection::ToArray() override

Return Value

An array of IShape objects.

ShapeCollection::ToArray(int32_t, int32_t) method

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

System::ArrayPtr<System::SharedPtr<IShape>> Aspose::Slides::ShapeCollection::ToArray(int32_t startIndex, int32_t count) override

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