示例#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);
 }
示例#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);
 }
示例#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());
 }