ConvertTo2D Method

The ConvertTo2D method converts a 3D graph to a 2D graph. Any 3D objects that do not have an equivalent 2D object, e.g., surface maps, are deleted from the 2D graph.

Syntax

object.ConvertTo2D

Remarks

After changing the graph type to 2D with ConvertTo2D, the graph object must be re-referenced. The graph object is moved to the top of the Object Manager after the graph object is converted to 2D.

Example

This example shows how to convert a 3D graph to 2D and then set the reference to the 2D graph object.

Graph.ConvertTo2D

Set Graph = Plot.Shapes.Item(Plot.Shapes.Count)

 

Used by: AutoGraph object