UndoBlockId
Gets current undo block identifier (ID).
int UndoBlockId( )
Current undo block ID.
Ex1
///Create two graphs before running this example void Project_UndoBlockId_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.Undo(); } }
origin.h