Version

SetText Method (HyperlinkNode)

Sets the text of the hyperlink node.
Syntax
'Declaration
 
Public Sub SetText( _
   ByVal text As String _
) 
public void SetText( 
   string text
)

Parameters

text
New text of the hyperlink.
Remarks

SetText method removes existing content of the hyperlink node and sets the specified text as the new content. Note that if the hyperlink already has runs, the last run will be used for the new text. This is done to retain the character settings that the last run may have been using.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also