GrapeCity.Xaml.Excel
SetMergeCells Method


GrapeCity.Excel Namespace > IExcelReader Interface : SetMergeCells Method
The zero based sheet index used to locate the IExcelWorksheet instance
The zero based inclusive row index indicate the top left cell row index
The zero based inclusive row index indicate the bottom right cell row index
The zero based inclusive column index indicate the top left cell row index
The zero based inclusive column index indicate the bottom right cell row index
Set the merged cell information
Syntax
'Declaration
 
Function SetMergeCells( _
   ByVal sheet As Short, _
   ByVal rowStart As Integer, _
   ByVal rowEnd As Integer, _
   ByVal columnStart As Integer, _
   ByVal columnEnd As Integer _
) As Boolean
'Usage
 
Dim instance As IExcelReader
Dim sheet As Short
Dim rowStart As Integer
Dim rowEnd As Integer
Dim columnStart As Integer
Dim columnEnd As Integer
Dim value As Boolean
 
value = instance.SetMergeCells(sheet, rowStart, rowEnd, columnStart, columnEnd)
bool SetMergeCells( 
   short sheet,
   int rowStart,
   int rowEnd,
   int columnStart,
   int columnEnd
)

Parameters

sheet
The zero based sheet index used to locate the IExcelWorksheet instance
rowStart
The zero based inclusive row index indicate the top left cell row index
rowEnd
The zero based inclusive row index indicate the bottom right cell row index
columnStart
The zero based inclusive column index indicate the top left cell row index
columnEnd
The zero based inclusive column index indicate the bottom right cell row index

Return Value

true If passed cell range is a valid cell range, otherwise, false
See Also

Reference

IExcelReader Interface
IExcelReader Members