2.2.4.28.49 MatrixObject::SetParameters

Description

set all parameters labels for the matrix object.

Syntax

BOOL SetParameters(const vector<string> &vstr)

Parameters

vstr
[input] the string array for parameter labels.

Return

Returns TRUE if successful, else FALSE.

Examples

EX1

void MatrixObject_SetParameters_ex1()
{
	MatrixLayer ml = Project.ActiveLayer();
	if ( ml )
	{
		MatrixObject mo = ml.MatrixObjects(0);		
		
		vector<string> vsParams = {"Params 1", "Params 2", "Params 3"};
		mo.SetParameters(vsParams);
	}
}

Remark

See Also

MatrixObject::GetParameters, MatrixObject::SetLongName, MatrixObject::SetUnits, MatrixObject::SetLabel, MatrixObject::SetExtendedLabel, MatrixObject::SetParameter

Header to Include

origin.h