SetNumRows
Set the number of rows and keep same number of columns.
BOOL SetNumRows( uint nRows )
Returns TRUE on successful exit and FALSE on failure.
EX1
// Set number of rows in a matrix to 100 // Requires active matrix window void MatrixObject_SetNumRows_Ex1() { MatrixLayer ml = Project.ActiveLayer(); if(ml) { BOOL bRet = ml.SetNumRows(100); printf("%u Rows\n", ml.GetNumRows()); } else printf("Matrix window not active.\n"); }
MatrixObject::SetSize, MatrixObject::SetNumCols, MatrixObject::GetNumRows, MatrixObject::GetNumCols, Datasheet::GetNumRows, Datasheet::GetNumCols, Datasheet::SetNumRows
origin.h