toArray

toArray() function

Creates and returns an array with all shapse in it.

Result

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


toArray(int startIndex, int count) function

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.

Result

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