Declaration: TMat4D.NrOfRows: integer;
The property NrOfRows controls the number of rows of the hypercube matrix. The matrix elements are addressed starting with an index of 1.

Hint: If you have to adjust not only NrOfRows but any of the other dimensions (NrOfColumns, NrOfLayers, or NrOfTimeSlots) as well, then it is faster to use the method Resize.