Project::UndoBlockNameId

Description

Syntax

void UndoBlockNameId( int nId )

Parameters

nId

Return

Examples

EX1

///Create two graphs before running this example
void Project_UndoBlockNamedId_ex1()
{
 
    GraphPage pageSrc("Graph1");
    GraphPage pageDst1("Graph2"); 
    Tree tree;
    tree = pageSrc.GetFormat();
    if( tree )
    {
            {
            UndoBlock block;
            BOOL bb = pageDst1.ApplyFormat(tree,true,false,true);
            }
            int nRet = Project.UndoBlockId();
            printf("Current Undo Block Id is %d",nRet);
            Project.UndoBlockNameId(nRet);     
    }
}

Remark

See Also

header to Include

origin.h