private void AddImageHyPerlinks()
{
// Accessing the reference of the worksheet that is currently active
GridWorksheet sheet = GridWeb1.WorkSheets[GridWeb1.ActiveSheetIndex];
// Adding hyperlink to the worksheet
int linkIndex = sheet.Hyperlinks.Add("B5", "http://www.aspose.com");
GridHyperlink link1 = sheet.Hyperlinks[linkIndex];
link1.Target = "_blank";
// Setting URL of the image that will be displayed as hyperlink
link1.ImageURL = "../Images/Aspose.Banner.gif";
// Setting tool tip of the hyperlink
link1.ScreenTip = "Open Aspose Web Site in new window";
// Resize the row to display image nicely
sheet.Cells.SetRowHeight(4, 40);
// Adding hyperlink to the worksheet
linkIndex = sheet.Hyperlinks.Add("B6", "http://www.aspose.com/docs/display/cellsnet/Aspose.Cells.GridWeb");
GridHyperlink link2 = sheet.Hyperlinks[linkIndex];
link2.Target = "_blank";
// Setting URL of the image that will be displayed as hyperlink
link2.ImageURL = "../Images/Aspose.Grid.gif";
// Setting tool tip of the hyperlink
link2.ScreenTip = "Open Aspose.Grid Docs in new window";
}