private IRow GetOrCreateRow(int rowIndex, bool centrized) { rowIndex.ThrowIfValueIsOutOfRange(nameof(rowIndex), 0, int.MaxValue); IRow row = _sheet.GetRow(rowIndex); row = row is null ? _sheet.CreateRow(rowIndex) : row; return(centrized ? row.Center() : row); }