Sets the size for this table entity.
Method generates the eInvalidInput exception when the number of rows or columns is zero.