예제 #1
0
 /// <summary>
 /// Adds a merged region of cells (hence those cells form one).
 /// Skips validation.It is possible to create overlapping merged regions
 /// or create a merged region that intersects a multi-cell array formula
 /// with this formula, which may result in a corrupt workbook.
 /// </summary>
 /// <param name="region">region to merge</param>
 /// <returns>index of this region</returns>
 /// <exception cref="System.ArgumentException">if region contains fewer than 2 cells</exception>
 public int AddMergedRegionUnsafe(CellRangeAddress region)
 {
     return(_sh.AddMergedRegionUnsafe(region));
 }