OriginObject::GetSrcOperation

Description

To find the operation object that generate this report.

Syntax

OperationBase & GetSrcOperation( int nRow = -1, int nCol = -1, int * pnTblId = NULL )

Parameters

nRow
[input] Row index from zero
nCol
[input] Column index from zero
pnTblId
[output,optional] it receives the id of the output table if row and column indices supplied.

Return

Examples

EX1

// Before run please do a operation based analysis like FitLinear. To find the operation object that generate this report.
void OriginObject_GetSrcOperation_Ex1()
{
    Worksheet wksActive = Project.ActiveLayer();
    if(wksActive)
    {
        OperationBase &op = wksActive.GetSrcOperation();
        out_str(op.GetName());
    }
}

Remark

See Also

header to Include

origin.h