| | attachFile | |
rtAttachment BeginInsert Created FileName FilePath FileSize Font ID Image As rtGraphic InternalName Modified overwriteConflict parentParagraph Parent ParentContainer ParentObject root Style
| version 1.5
Function attachFile (filepath As String, docTmp As NotesDocument) Attaches file to provided NotesDocument for the storage of attachment (may be only a temporary document - although it will get saved in process, so it must be manually removed if not permanent). If the second parameter is Nothing, method uses as temporary document the last document used (either source or target). An alternative way is to define FilePath property. The file will get attached at the moment the item gets written. In this case there is no need to figure out which document will be used as a temporary storage.. | |