Graph.ExtraObjects
Returns the collection of embedded objects (including shapes and legends) within the graph.
This property is read only.
| Syntax | Parameters | Return Value |
|---|---|---|
| - | - | GraphicsObjects |
SVB Example
Adding shapes to a graph:
Option Base 1
Option Explicit
Sub Main
'add a rectangle to the graph
ActiveGraph.ExtraObjects.AddFixedShape(scgRectangleShape,.1,.8,.8,.2)
'Add an arrow to the graph
ActiveGraph.GraphObject.ExtraObjects.AddFixedArrow(.5, .5, .8, .8, 0)
'bring the graph to the front
ActiveGraph.Activate
End Sub