SetExtendedLabel
Set the matrix object label by label type.
BOOL SetExtendedLabel(LPCSTR lpcszLabel, int nn, BOOL bByType = TRUE)
typedef enum { RCLT_INVALID = -1, RCLT_LONG_NAME, RCLT_UNIT, RCLT_COMMENT, RCLT_PARAM, } ROWCOLLABELTYPE;
plus an optional offset for RCLT_PARAM, like RCLT_PARAM + 1, RCLT_PARAM + 2, etc.
Returns TRUE if successful, else return FALSE.
EX1
void MatrixObject_SetExtendedLabel_ex1() { MatrixLayer ml = Project.ActiveLayer(); if ( ml ) { MatrixObject mo = ml.MatrixObjects(0); mo.SetExtendedLabel("label set to units", RCLT_UNIT); } }
MatrixObject::GetExtendedLabel, MatrixObject::SetLabel, MatrixObject::SetLongName, MatrixObject::SetComments, MatrixObject::SetUnits, MatrixObject::SetParameter, MatrixObject::SetParameters
origin.h