Exemplo n.º 1
0
 /// <summary>
 /// Adds a cell to the current row in the current worksheet.
 /// </summary>
 /// <param name="type">A CellType enumeration. The values can be String and Number.</param>
 /// <param name="style">A DefaultStyle value that sets the style of the new row.</param>
 /// <param name="value">A string with the contents for the cell.</param>
 public void AddCell(CellType type, DefaultStyles style, string value)
 {
     AddCell(type, style.ToString(), value, 0);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Adds a cell to the current row in the current worksheet.
 /// </summary>
 /// <param name="type">A CellType enumeration. The values can be String and Number.</param>
 /// <param name="style">A DefaultStyle value that sets the style of the new row.</param>
 /// <param name="value">A string with the contents for the cell.</param>
 /// <param name="mergeAcrossCells"></param>
 public void AddCell(CellType type, DefaultStyles style, string value, int mergeAcrossCells)
 {
     AddCell(type, style.ToString(), value, mergeAcrossCells);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Adds a new row to the current worksheet with the Default style.
 /// </summary>
 /// <param name="style">A DefaultStyle value that sets the style of the new row.</param>
 public void AddRow(DefaultStyles style)
 {
     AddRow(style.ToString());
 }