UndoBlockNameId
void UndoBlockNameId( int nId )
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); } }
origin.h