Examples: Import method (NotesUIDocument - LotusScript®)
- This form action imports a file into the Body field of the current
UI document. The user selects the file and type.
Sub Click(Source As Button)
Dim workspace As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc = workspace.CurrentDocument
Call uidoc.GotoField("Body")
Call uidoc.Import
End Sub
- This form action imports a BMP file into the Body field of the
current UI document.
Sub Click(Source As Button)
Dim workspace As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc = workspace.CurrentDocument
Call uidoc.GotoField("Body")
Call uidoc.Import("BMP Image", "c:\Windows\Red Blocks.bmp")
End Sub
Have feedback?
Google Analytics is used to store comments and ratings. To provide a comment or rating for a topic, click Accept All Cookies or Allow All in Cookie Preferences in the footer of this page.