Display Image

I need to display a picture in open document from backend document, I do not want to save open document because it is just for navigation.

I try this :

   Set item = CurrentTestDoc.GetFirstItem( "Attach" )

Dim newItem As NotesRichTextItem

Call doc.RemoveItem("Attach")

Set newItem  = New NotesRichTextItem(Doc, "Attach")

			

			If ( item.Type = RICHTEXT And newItem.Type = RICHTEXT ) Then

				Call newItem.AddNewLine(1)

				Call newItem.AppendRTItem( item )

				newItem.Update	

			End If

any idea!!!

-Mohammad Ashfaq

Subject: Display Image

Unfortunately, we’d all love to be able to do things to a RichTextField without always having to save.

I haven’t seen any way around it, so I normally save things and then later in the code have a “Set tmpDoc = Nothing”