【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.1.14.1.5 get_graph_layer
Contents
Description
retrive the graph layer from the tree node
Syntax
GraphLayer get_graph_layer( const TreeNode & trNode )
Parameters
- trNode
- [input] tree node that may contains the needed info prepared by set_active_layer
Return
a valid graph layer if successful
Examples
EX1
//This example get the active graph layer. void get_graph_layer_ex1() { GraphPage gp; gp.Create(); Tree trNode; set_active_layer(trNode); //Get the Info. of the active layer GraphLayer gl = get_graph_layer(trNode); ASSERT(gp.GetName() == gl.GetPage().GetName()); out_str("The active graph layer is: " + gl.GetPage().GetName() + "(" + gl.GetIndex() + ")"); }
Remark
See Also
Header to Include
origin.h