The property NrOfRows controls the number of rows of a matrix. The matrix elements are addressed starting with an index of 1. For the classes TMatrix the properties NrOfRows and/or NrOfColumns may be set to zero to create a 0-by-0 matrix.
Hint 1:
If you have to adjust not only NrOfColumns but also NrOfRows then it is faster to use the method Resize.