Copies an item to a specified document.
public Item copyItemToDocument(Document doc)
throws NotesException
public Item copyItemToDocument(Document doc, String newname)
throws NotesException
Document doc
The document on which to create the item. Cannot be null.
String newname
The name of the new item. Specify an empty string ("") if you want to keep the name of the original item.
Item
The new item.
When you call this method using a RichTextItem object, file attachments, embedded objects, and object links that are contained within the rich-text item are not copied to the destination document.