Spread WPF Documentation
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 System.Short, _
   ByVal rowStart As System.Integer, _
   ByVal rowEnd As System.Integer, _
   ByVal columnStart As System.Integer, _
   ByVal columnEnd As System.Integer _
) As System.Boolean
'Usage
 
Dim instance As IExcelReader
Dim sheet As System.Short
Dim rowStart As System.Integer
Dim rowEnd As System.Integer
Dim columnStart As System.Integer
Dim columnEnd As System.Integer
Dim value As System.Boolean
 
value = instance.SetMergeCells(sheet, rowStart, rowEnd, columnStart, columnEnd)
System.bool SetMergeCells( 
   System.short sheet,
   System.int rowStart,
   System.int rowEnd,
   System.int columnStart,
   System.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