2.2.4.38.66 Project::Undo

Description

Undo the last block.

Syntax

int Undo( )

Parameters

Return

Examples

Ex1

void Project_Undo_ex1()
{

    GraphPage pageSrc("Graph1");
    GraphPage pageDst1("Graph2"); 
    Tree tree;
    tree = pageSrc.GetFormat();
    if( tree )
    {  
            {
            UndoBlock block;
            BOOL bb = pageDst1.ApplyFormat(tree,true,false,true);
            } 
            Project.Undo();     
    }
}

Remark

See Also

Header to Include

origin.h