【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.28.47 MatrixObject::SetNumRows
Contents
Description
Set the number of rows and keep same number of columns.
Syntax
BOOL SetNumRows( uint nRows )
Parameters
- nRows
- [input] Input number of rows to set, must be > 0
Return
Returns TRUE on successful exit and FALSE on failure.
Examples
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"); }
Remark
See Also
MatrixObject::SetSize, MatrixObject::SetNumCols, MatrixObject::GetNumRows, MatrixObject::GetNumCols, Datasheet::GetNumRows, Datasheet::GetNumCols, Datasheet::SetNumRows
Header to Include
origin.h