GrapeCity.Xaml.Excel
SetCellHyperLink Method


GrapeCity.Excel Namespace > IExcelReader Interface : SetCellHyperLink Method
The zero based sheet index used to locate the IExcelWorkbook instance
The zero based cell row index
The zero based cell column index
An IExcelHyperLink instance used to set the value
Set hyperlink to a specified cell.
Syntax
'Declaration
 
Function SetCellHyperLink( _
   ByVal sheet As Short, _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal hyperLink As IExcelHyperLink _
) As Boolean
'Usage
 
Dim instance As IExcelReader
Dim sheet As Short
Dim row As Integer
Dim column As Integer
Dim hyperLink As IExcelHyperLink
Dim value As Boolean
 
value = instance.SetCellHyperLink(sheet, row, column, hyperLink)
bool SetCellHyperLink( 
   short sheet,
   int row,
   int column,
   IExcelHyperLink hyperLink
)

Parameters

sheet
The zero based sheet index used to locate the IExcelWorkbook instance
row
The zero based cell row index
column
The zero based cell column index
hyperLink
An IExcelHyperLink instance used to set the value

Return Value

true If the cell is in a valid cell in the specified worksheet, otherwise, false
Exceptions
ExceptionDescription
throws if the hyperLink is null
See Also

Reference

IExcelReader Interface
IExcelReader Members