DataObject
The DataObject class is derived from the DataObjectBase class and is the base class of worksheet columns and matrix objects. Origin data objects are contained by layers on an Origin page. For example, columns (data objects) are contained by a worksheet (layer) and are on a worksheet window (page).
EX1
// Create a worksheet with column formulas in place and execute void DataObject_Ex1() { Worksheet wks; wks.Create("origin", CREATE_VISIBLE); Column col; col.Attach(wks, 0); col.SetFormula("5*(i-1)"); BOOL bRet = col.ExecuteFormula(); }
origin.h