Type Property [Shape]
Type returns the shape type. Returns a SrfShapeType.
Syntax
object.Type
Example 1
This example demonstrates how to return shape type of a shape object.
Debug.Print Shape.Type
Example 2
This script displays all the methods and properties in the Shape object.
Example 3
The following example demonstrates how to return the shape type for a map layer and an axis.
'Show the map layer type in the immediate window
Debug.Print MapFrame.Overlays(1).Type
'Show the axis type in the immediate window
Debug.Print MapFrame.Axis(2).Type
Used by: Shape object