ToArray()

ISlideCollection::ToArray() method

Creates and returns an array with all slides in it.

virtual System::ArrayPtr<System::SharedPtr<ISlide>> Aspose::Slides::ISlideCollection::ToArray()=0

Return Value

Array of ISlide

ISlideCollection::ToArray(int32_t, int32_t) method

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

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

Arguments

ParameterTypeDescription
startIndexint32_tAn index of a first slide to add.
countint32_tA number of slides to add.

Return Value

Array of ISlide

See Also