DeleteOperation
Remove an Operation from project
BOOL DeleteOperation( OperationBase * op, BOOL bRemoveFromOperationList = FALSE )
OperationBase* pOperation; void Project_DeleteOperation_Ex1() { string strFileName = GetAppPath(true) + "OriginC\\Originlab\\FitNL.cpp"; string strClass = "FitNL"; pOperation = Project.NewOperation(strClass, strFileName); //create an operation and add to project's operation list Project.DeleteOperation(pOperation); }
Project::CreateClass, Project::NewOperation
origin.h