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