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