Interface IMergeCells
Represents a Merged Cell.
Namespace: Syncfusion.XlsIO
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public interface IMergeCells
Methods
AddMerge(Int32, Int32, Int32, Int32, ExcelMergeOperation)
Merges all cells in cellRange.
Declaration
void AddMerge(int RowFrom, int RowTo, int ColFrom, int ColTo, ExcelMergeOperation operation)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | RowFrom | Row index from which merging should be done. |
System.Int32 | RowTo | Row index to which merging should be done. |
System.Int32 | ColFrom | Column index from which merging should be done. |
System.Int32 | ColTo | Column index to which merging should be done. |
ExcelMergeOperation | operation | Different merge operations. |
DeleteMerge(Int32)
If specified cell is contained in merged cell, delete that merge.
Declaration
void DeleteMerge(int CellIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | CellIndex | Index to be removed from Merged area. |