Shapes Property

 

The Shapes property returns the Shapes collection. This is a read-only property.

 

Syntax

object.Shapes

 

Example 1

This example demonstrates how to return the number of objects in a plot document.

 

Debug.Print Plot.Shapes.Count

 

Example 2

This example demonstrates how to create a rectangle.

 

Dim Rectangle As Object

Set Rectangle = Plot.Shapes.AddRectangle(Left:=5, Top:=7, Right:=6, Bottom:=10)

 

Used by: Layer object