Load template by template name
BOOL LoadTemplate( LPCSTR lpcszTemplate )
Return TRUE if success, or FALSE if failed.
EX1
void Layer_LoadTemplate_ex1() { GraphLayer ly = Project.ActiveLayer(); if( !ly.IsValid() ) return; //Normal Q-Q Plot template BOOL bSuccess = ly.LoadTemplate("QQ"); printf("Load Template is Success: %d\n", bSuccess); }
origin.h