AppendLayers
Append layers from the specified template to the page.
BOOL AppendLayers( LPCSTR lpcszName )
Returns TRUE on successful exit and FALSE on failure.
EX1
int GraphPage_AppendLayers_ex1() { GraphPage gp; gp.Create(); if( gp.IsValid() ) { printf("%s has %d layers\n", gp.GetName(), gp.Layers.Count()); gp.AppendLayers("origin"); printf("Now %s has %d layers\n", gp.GetName(), gp.Layers.Count()); } return 0; }
GraphPage::LoadTemplate
origin.h