Object Model Reference : Classes : S : Shapes : Properties : Shapes.Count |
Property Count As Long
Member of Shapes
The Count property returns the number of shapes in a Shapes collection.
The Count property returns a read-only value.
The following VBA example displays the number of shapes in the Shapes collection.
Sub ShapesCount() |
With ActiveLayer.Shapes |
MsgBox "There are " & .Count & " shapes in the Shapes collection." |
End With |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.