is_3D_graph

 

Description

To check if the graph layer is 3D graph.

Syntax

bool is_3D_graph(const GraphLayer& gl)

Parameters

gl
[input] graph layer object

Return

return true if is 3D, else false.

Examples

EX1

//For this example to run, make the graph layer active in the active  project
void is_3D_graph_ex1()
{
    GraphLayer gl = Project.ActiveLayer();
    if(is_3D_graph(gl))
        out_str("The graph is 3D");
}

Remark

See Also

header to Include

origin.h

Reference