Looking for pointers to Lotus C API Sample Code for notesRichTextItem.AppendText so that I can write a real "notesRichTextItem.AppendURLHotspot( text$, anchor ) method

I would like to know if anyone has any Lotus C API sample code for some of the existing LotusScript functions for AppendText. I am attempting to write an LotusScript method (similar to the notesRichTextItem.AppendText method) that would provide the service of notesRichTextItem.AppendURLHotspot( text$, anchor ) method. I have tried numerous work-arounds for inserting a URL Hotspot into a document and none scale up for a complex document with many URLs.

The bottom line: The end objective is to have an AppendURLHotspot method that can be used with BeginInsert / EndInsert in when dealing with a Rich Text item.

All pointers and advice welcome.

Thanks in advance.