toArray

toArray() method

Creates and returns an array with all shapse in it.

Returns

Connector, GraphicalObject, SmartArtShape, Shape, Table, Ink, GeometryShape, SummaryZoomFrame, SummaryZoomSection, ZoomFrame, VideoFrame, OleObjectFrame, SmartArt, GroupShape, AutoShape, SectionZoomFrame, PictureFrame, AudioFrame, Chart, ZoomObject, LegacyDiagram


toArray(int startIndex, int count) method

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

Parameters

NameTypeDescription
startIndexintAn index of a first shape to return.
countintA number of shapes to return.

Returns

Connector, GraphicalObject, SmartArtShape, Shape, Table, Ink, GeometryShape, SummaryZoomFrame, SummaryZoomSection, ZoomFrame, VideoFrame, OleObjectFrame, SmartArt, GroupShape, AutoShape, SectionZoomFrame, PictureFrame, AudioFrame, Chart, ZoomObject, LegacyDiagram