//get an instance of a worksheet. May be link to the UI documentation that shows: //Worksheet worksheet = this.radSpreadsheet.ActiveWorksheet; public void CreateHyperlink() { //Create a hyperlink to a web address: #region radspreadsheet-features-hyperlink_0 HyperlinkInfo webAddres = HyperlinkInfo.CreateHyperlink("http://google.com", "Google"); #endregion //Create a hyperlink to a cell range somewhere in the document: #region radspreadsheet-features-hyperlink_1 HyperlinkInfo inDocument = HyperlinkInfo.CreateInDocumentHyperlink("A1:B3", "Go to A1:B3"); #endregion //Create a hyperlink to an email address: #region radspreadsheet-features-hyperlink_2 HyperlinkInfo mailto = HyperlinkInfo.CreateMailtoHyperlink("*****@*****.**", "someSubject", "Mail to someOne"); #endregion }
//get an instance of a worksheet. May be link to the UI documentation that shows: //Worksheet worksheet = this.radSpreadsheet.ActiveWorksheet; public void CreateHyperlink() { //Create a hyperlink to a web address: #region radspreadprocessing-features-hyperlink_0 HyperlinkInfo webAddres = HyperlinkInfo.CreateHyperlink("http://telerik.com", "Telerik"); #endregion //Create a hyperlink to a cell range somewhere in the document: #region radspreadprocessing-features-hyperlink_1 HyperlinkInfo inDocument = HyperlinkInfo.CreateInDocumentHyperlink("A1:B3", "Go to A1:B3"); #endregion //Create a hyperlink to an email address: #region radspreadprocessing-features-hyperlink_2 HyperlinkInfo mailto = HyperlinkInfo.CreateMailtoHyperlink("*****@*****.**", "someSubject", "Mail to someOne"); #endregion #region radspreadprocessing-features-hyperlink_3 CellIndex a1Index = new CellIndex(0, 0); SpreadsheetHyperlink spreadsheetHyperlink = worksheet.Hyperlinks.Add(a1Index, webAddres); #endregion }