Permanently deletes an embedded object, object link, or file attachment.
Call notesEmbeddedObject .Remove
After calling the Remove method, you must call the Save method in NotesDocument to save the change that you made.
remove in Java™ EmbeddedObject class
HotspotClear @command in formula language