Very tricky if teh RichText-field contains more than just the picture and you want to copy only the picture and nothing else.But, if the RichText-field contains only the picture and nothing else, it can be done.
Just use the notesRichTextItem.AppendRTItem method.
Here is an example:
Dim rtFrom As NotesRichTextItem
Dim rtTo As NotesRichTextItem
'-- Get a reference to the document containing the picture you want to copy.
Set docFrom = …
'-- … and to the RichText-item with the picture.
Set rtFrom = docFrom.GetFirstItem(“Photo”)
'-- Get the target references.
Set docTo = …
Set rtTo = docTo.GetFirstItem(“Photo”)
Note. If you are creating a new ‘target’ document, you’ll need: