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

resource references

Start search Mail feedback Back to Description


rtGraphic

add (rtContainer) addNewLine (rtContainer) addNewLine (rTextParagraph) appendText (rtContainer) appendText (rTextParagraph) Add (rtCollection) Add (rTextParagraph) getRichTextItem ResourceName

Code fragment from sample "resource references"; see full running samples in downloadable help.

ctxDump
.getRichTextItem doc, "Body"
ctxDump.appendText "*begin*"
Dim g As New rtGraphic(0), icon as rtGraphic
g.ResourceName = "BOX_RBOD.gif"
Set icon =New rtGraphic (0)
icon.resourceName ="vwicn080.gif" ' iconPublic

ctxDump.add g
ctxDump.appendText "*middle*"
ctxDump.add icon
ctxDump.appendText "*end*"
ctxDump.addNewLine 1
Set icon =New rtGraphic (0)
icon.resourceName ="vwicn080.gif" ' iconPublic
ctxDump.add icon
ctxDump.appendText "*end*on next line"