Import (NotesUIDocument - LotusScript®)
Imports a file.
Note: This method is new with Release 5.
Defined in
Syntax
Call notesUIDocument .Import( [ filter$ , filename$ ] )
Parameter
filter$
String. Optional. The types of file are specified as follows. You do not have to spell the name exactly as shown and case does not matter; you have to include enough characters to uniquely identify the file type. In case of ambiguity, Notes/Domino will use the first file type in the list that matches your entry.
- ASCII Text
- Binary with Text
- BMP Image
- CGM Image
- GIF Image
- HTML File
- JPEG Image
- Lotus® 1-2-3®
- Lotus® PIC
- Lotus® Word Pro®
- Microsoft™ Excel
- Microsoft™ RTF
- Microsoft™ Word
- Network Portable Graphic
- PCX Image
- TIFF 5.0 Image
- Unsupported File as Text
- WordPerfectNote: This list is subject to change. To verify the list, check "Files of type" in the "Import" dialog box.
filename$
String. Optional. The name of the file.
Usage
The focus must be in a rich text field for this method to work.
Specify no parameters or both parameters:
- If you specify no parameters, the "Import" dialog box appears. The user selects the file type and file name.
- Specifying the parameters bypasses the "Import" dialog box. Additional dialog may appear, for example, the query "Preserve existing line breaks in text?" in the case of ASCII Text files.