Spread WPF Documentation
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 System.Short, _
   ByVal row As System.Integer, _
   ByVal column As System.Integer, _
   ByVal hyperLink As IExcelHyperLink _
) As System.Boolean
'Usage
 
Dim instance As IExcelReader
Dim sheet As System.Short
Dim row As System.Integer
Dim column As System.Integer
Dim hyperLink As IExcelHyperLink
Dim value As System.Boolean
 
value = instance.SetCellHyperLink(sheet, row, column, hyperLink)
System.bool SetCellHyperLink( 
   System.short sheet,
   System.int row,
   System.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