Previous Document Next Document
Shapes.All

Function All() As ShapeRange

Member of Shapes

The All method returns a or sets a ShapeRange object that contains all shapes from the collection.

The following code example selects all of the shapes in the Shapes collection by using the All method, and it them applies a two-pattern fill to the shapes:

Sub ShapesAll() 
 ActiveLayer.Shapes.All.ApplyPatternFill cdrTwoColorPattern 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.