LOTUSSCRIPT/COM/OLE CLASSES


Working with doclinks in LotusScript classes
Example

To access a doclink in a rich text item, use the NotesRichTextNavigator methods in conjunction with the type RTELEM_TYPE_DOCLINK. To create a doclink in a rich text item, use AppendDocLink in NotesRichTextItem. After creating a doclink, you must navigate in the rich text item to access it.

Once you access a doclink, the NotesRichTextDocLink class lets you remove the doclink and use the following properties:

PropertyData typeDescription
DbReplicaIDString(Read-write) Replica ID of the target database.
DisplayCommentString(Read-write) Comment text of the doclink.
DocUNIDString(Read-write) Universal ID of the target document.
HotSpotText property String(Read-write) For a hotspot doclink, the text representing the doclink.
HotSpotTextStyle property NotesRichTextStyle(Read-only) For a hotspot doclink, the style of the text representing the doclink. To set the style, use the SetHotSpotTextStyle method.
ServerHintString(Read-write) Name of the server containing the target database.
ViewUNIDString(Read-write) Universal ID of the target view.

Example
See Also