public void SetExtendLastRow(bool extendLastRows, bool extendFinalRow) { extendLastRow[0] = extendLastRows; extendLastRow[1] = extendFinalRow; }