ResizeIntMatrix

Declaration: ResizeIntMatrix(var Mat: TInt2DArray; SizeX, SizeY: integer);
Resizes the two-dimensional dynamic array Mat to the size SizeX x SizeY. Please note that dynamic arrays have 0-based indices.