Hide Table of Contents
GetHyperlinkText Method (INote)

Gets the hyperlink in a note.

.NET Syntax

Visual Basic (Declaration) 
Function GetHyperlinkText() As System.String
Visual Basic (Usage) 
Dim instance As INote
Dim value As System.String
 
value = instance.GetHyperlinkText()
C# 
System.string GetHyperlinkText()
C++/CLI 
System.String^ GetHyperlinkText(); 

Return Value

Hyperlink text

Example

Remarks

You can create an embedded hyperlink on a note by using INote::SetHyperlinkText or by using the hyperlink button on the note creation dialog.

This command first looks for an embedded hyperlink on the note and returns the text used to take the user to that document, which can be on the internet (a URL address is returned) or on your local network or hard drive (a pathname is returned). If the pathname was specified as a relative pathname, then the full pathname is returned.

If an embedded hyperlink does not exist, the note's text is searched for a hyperlink explicitly entered as part of the note text. This could be a URL address (a text string beginning with http://) or a file address (a text string beginning with file://).

If no hyperlink is found, either embedded or explicitly entered within the note text, an empty string is returned.

 

See Also

Availability

SOLIDWORKS 98Plus, datecode 1998319


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   GetHyperlinkText Method (INote)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2017 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.