←Select platform

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

C#
C++/CLI
Python
public Hyperlink CreateHyperlink( 
   string address, 
   string tooltip 
) 
public:  
   Hyperlink^ CreateHyperlink( 
      String^ address, 
      String^ tooltip 
   ) 
def CreateHyperlink(self,address,tooltip): 

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.LEADOffice.Sheet Namespace

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

Leadtools.Document.LEADOffice Assembly

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