LoadTemplate
Load a template into the page removing any existing layers.
BOOL LoadTemplate( LPCSTR lpcszName )
Returns TRUE on successful exit and FALSE on failure.
EX1
int GraphPage_LoadTemplate_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()); gp.LoadTemplate("origin"); printf("Now %s has %d layers\n", gp.GetName(), gp.Layers.Count()); } return 0; }
GraphPage::AppendLayers
origin.h