CreateHyperlink Method

Summary

Creates a new Hyperlink object with a specified address and tooltip, enabling the addition of interactive links to the Excel workbook. Allows for embedding clickable hyperlinks within spreadsheet cells to direct users to external resources, other documents, or locations within the same workbook.

Syntax

TypeScript
JavaScript
LEADWorkbook.prototype.createHyperlink = function( 
   address, 
   tooltip 
) 
createHyperlink( 
   address: string, 
   tooltip: string 
): Hyperlink; 

Parameters

address

A string specifying the URL or document path the hyperlink points to. This can be an external web address, a path to a file, or a reference to a location within the workbook.

tooltip

A string providing descriptive text that appears when the user hovers over the hyperlink.

Return Value

A new instance of the Hyperlink object, configured with the specified address and tooltip.

Requirements

Target Platforms

See Also

LEADWorkbook Class

LEADWorkbook Members

Leadtools.Document.SheetEditor Namespace

Help Version 23.0.2024.5.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.SheetEditor Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.