GetNumCols
Get the number of columns in a matrix
int GetNumCols( )
Return the number of columns in the matrix
EX1
// Report the number of columns in a matrix // Matrix should be the active window void MatrixObject_GetNumCols_Ex1() { MatrixLayer mlay = Project.ActiveLayer(); if( mlay ) { MatrixObject mobj (mlay, 0); printf("the number of columns in the selected matrix are %d", mobj.GetNumCols()); } else printf("Matrix is not the active window\n"); }
MatrixObject::GetNumRows
origin.h