RTF to Notes Rich Text?

I have RTF content that I would like to add to the body of new calendar documents. For exmple:

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Calibri;}}

{*\generator Msftedit 5.41.21.2509;}\viewkind4\uc1\pard\sa200\sl276\slmult1\lang9\f0\fs22 Hello World!\par

}

I’ve tried this:

l_oRTItem = .CreateRichTextItem(“Body”)

l_oRTItem.AppendText(MyRTFString)

But it just displays the literal RTF string.

Any suggestions? Is there a “RTF to NotesRichTextItem” method or function somewhere?

Thanks.

Bill

Subject: re:RTF to Notes Rich Text?

Look in Domino Designer 8.5 Help at the Import method. The first example looks like just the ticket.

Subject: re:RTF to Notes Rich Text?

The NotesUIDocument.Import() method does work, thanks.

Although, it would be nice to be able to do this via COM, so there is no interaction (or interruptions) in the UI while my code is running.

Thanks again.

Bill