ToArray()

IShapeCollection::ToArray() method

Creates and returns an array with all shapse in it.

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

Return Value

Array of IShape

IShapeCollection::ToArray(int32_t, int32_t) method

Creates and returns an array with all shapes from the specified range in it.

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

Arguments

ParameterTypeDescription
startIndexint32_tAn index of a first shape to return.
countint32_tA number of shapes to return.

Return Value

Array of IShape

See Also