ToArray

ToArray()

Creates and returns an array that contains all shapes.

public IShape[] ToArray()

Return Value

An array of IShape objects.

See Also


ToArray(int, int)

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

public IShape[] ToArray(int startIndex, int count)
ParameterTypeDescription
startIndexInt32The index of the first shape to return.
countInt32The number of shapes to return.

Return Value

An array of IShape objects.

See Also