rtLib — Notes Rich Text Management Library Documentation of rtLib — Notes Rich Text Management Library Download rtLib — Notes Rich Text Management Library FAQ of rtLib — Notes Rich Text Management Library Purchase rtLib — Notes Rich Text Management Library Feedback about rtLib — Notes Rich Text Management Library

Cookbook

Hotlink retrieval

Start search Mail feedback Back to Description


rtHotLink

Collection (rtContainer) Collection (rtEnumeration) getRichTextItem hasMoreElements NextElement NoteLink

Code fragment from sample "Hotlink retrieval"; see full running samples in downloadable help.
Dim links As rtEnumeration, coll As rtCollection, link As rtHotLink, o
ctxDump.getRichTextItem doc, "Body"

Print "getting ...", doc.tTitle(0)
Set coll =ctxDump.Collection(PARSE_GROUP_HOTSPOT)
If Not coll Is Nothing Then
Set links = New rtEnumeration (coll)
Do While links.hasMoreElements
Set o = links.nextElement
Print "Hotspot of type...", Typename(o)
If o Isa "rtHotLink" Then
Set link = o
Print "link found" , link.NoteLink.getDocumentUNID
End If
Loop
End If