Inserting Image Resource into RTF

I’m hoping someone out there can help me with this problem. I’m working on a tracking system and need to have the ability to show an icon next to the task description under certain circumstances. I was hoping to create an action button that would insert the graphic (which is now an image resource) into the RTF when the user clicked the action. I can’t find an @Command to help with inserting an image resource.

The graphic,image,icon (whatever you want to call it) is actually a font from the webdings font family. The key character is ALT+0148. It would be easy to insert text into the RTF, but how do you change the font and then issue the “ALT+0148” key programmatically?

Thanks for your help!

Tina

Subject: RE: Inserting Image Resource into RTF

If you really want to use a character, you could use the methods of NotesRichTextItem to append a style that used the desired font, and then the character you want. If you need to display the result right away, see this: Tip: How to update rich text in a document that’s open and redisplay it without saving.

If you prefer to use a graphic, which might be better for cases where the user might not have the graphic font, you could create a reference copy of the graphic in a rich text field in a document that you could look up as needed and AppendRTItem into your current document.