Get the colormap properties of the group plot(like Waterfall Color Mapping plot).
BOOL GetColormap( TreeNode & trColormap )
Return TRUE if success, or FALSE if failed.
EX1
//assume there is a Waterfall Color Mapping plot void GroupPlot_GetColormap_Ex1() { GraphLayer gl = Project.ActiveLayer(); GroupPlot gPlot; gPlot= gl.Groups(0); //get first groupplot object TreeNode trColormap; BOOL bSuccess = gPlot.GetColormap(trColormap); out_tree(trColormap); }
GroupPlot::SetColormap
origin.h