MatrixObject::SetParameter

Description

Set one parameter label for matrix object.

Syntax

BOOL SetParameter(LPCTSTR lpcszParam, int index = 0)

Parameters

lpcszParam
[input] the string of parameter label.
index
[input] the index in parameter labels array

Return

Returns TRUE if successful, else FALSE.

Examples

EX1

void MatrixObject_SetParameter_ex1()
{
        MatrixLayer ml = Project.ActiveLayer();
        if ( ml )
        {
                MatrixObject mo = ml.MatrixObjects(0);                         
                mo.SetParameter("Param 1", 0);
        }
}

Remark

See Also

MatrixObject::GetParameter, MatrixObject::GetName, MatrixObject::SetLongName, MatrixObject::SetUnits, MatrixObject::SetLabel, MatrixObject::SetExtendedLabel, MatrixObject::SetParameters

header to Include

origin.h