SetSize
Set the number of rows and columns.
BOOL SetSize( uint nNumRows, uint nNumCols, DWORD dwCntrl = OCD_RESTORE | OCD_INITDATA )
Returns TRUE on successful exit and FALSE on failure.
EX1
// Change a 32 x 32 matrix to 640 x 480 // Assume a matrix is the active window void MatrixObject_SetSize_Ex1() { MatrixLayer ml = Project.ActiveLayer(); if(ml) { BOOL bRet = ml.SetSize(480, 640); // Rows, Columns if(bRet) printf("Matrix expansion succeeded.\n"); else printf("Matrix expansion failed.\n"); } else printf("Matrix window not active.\n"); }
MatrixObject::SetNumRows, MatrixObject::SetNumCols, MatrixObject::GetNumRows, MatrixObject::GetNumCols, Datasheet::GetNumRows, Datasheet::GetNumCols, Datasheet::SetNumRows
origin.h