Graph.ReplaceContent
Replaces the content of one Graph with another.
| Syntax | Parameters | Return Value |
|---|---|---|
Sub Graph.ReplaceContent( _
graph As Graph)
|
graph [in]
Source graph document. Type: Graph |
This function does not return a value. |
SVB Example
Replacing the content of one graph with another:
Option Base 1
Option Explicit
Sub Main
'copy the active graph's content to a new graph
Dim g As New Graph
G.ReplaceContent(ActiveGraph)
G.Visible = True
End Sub