Previous Document Next Document

Object Model Reference : Classes : S : Shapes : Methods : Shapes.All


Shapes.All

Function All() As ShapeRange

Description

Member of Shapes

The All method returns a or sets a shape range that contains all the shapes from a Shapes collection.

VBA example

The following VBA example selects all the shapes in the Shapes collection by using the All method, and it then 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 2013 Corel Corporation. All rights reserved.