2.2.4.24.18 Layer::LoadTemplate


Description

Load template by template name

Syntax

BOOL LoadTemplate( LPCSTR lpcszTemplate )

Parameters

lpcszTemplate
[input] template name

Return

Return TRUE if success, or FALSE if failed.

Examples

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);
}

Remark

See Also

Header to Included

origin.h