Esempio n. 1
0
        private void WriteColHeader(string label, int colNum, double colWidth)
        {
            _xl.MoveTo(H2_ROW, colNum);
            _xl.CurrentCol.Width = colWidth;
            _xl.WriteH2(label);

            _xl.MoveTo(N1_ROW, null);
        }
        private void writeDatesColumn()
        {
            _xl.MoveTo(H2_ROW, 1);
            _xl.WriteH2("date");

            _xl.MoveTo(N1_ROW, null);
            foreach (var row in _src)
            {
                _xl.WriteDate(row.Date);
            }

            _xl.WriteH2("Sections Total");

            _xl.CurrentCol.AutoFit(15);
            _xl.MoveToNextCol();

            _xl.CurrentCol.Width = GAP1;
            _xl.MoveToNextCol();
        }