Syncfusion.XlsIO.Base
Example 


Hyperlinks Property (IRange)

Gets hyperlinks in the Range. Read-only.
Syntax
'Declaration
 
ReadOnly Property Hyperlinks As IHyperLinks
'Usage
 
Dim instance As IRange
Dim value As IHyperLinks
 
value = instance.Hyperlinks
IHyperLinks Hyperlinks {get;}
Example
The following code illustrates how to access Borders property of the Range.
ExcelEngine excelEngine = new ExcelEngine();
IApplication application = excelEngine.Excel;
application.DefaultVersion = ExcelVersion.Excel2013;
IWorkbook workbook = application.Workbooks.Create(1);
            
IWorksheet sheet = workbook.Worksheets[0];
            
// Creating a Hyperlink for a Website.
IHyperLink hyperlink = sheet.HyperLinks.Add(sheet.Range["C5"]);
hyperlink.Type = ExcelHyperLinkType.Url;
hyperlink.Address = "http://www.syncfusion.com";
hyperlink.ScreenTip = "To know more About SYNCFUSION PRODUCTS go through this link";
            
workbook.SaveAs("Hyperlinks.xlsx");
workbook.Close();
excelEngine.Dispose();
AssemblyVersion

Syncfusion.XlsIO.Base: 16.4460.0.40

See Also