Clear (NotesUIDocument - LotusScript®)
Deletes the current selection from a document. The current selection can be anything in an editable field, such as text or graphics.
Defined in
Syntax
Call notesUIDocument .Clear
Usage
This method is valid only when the document is in Edit mode.
The selection is not copied to the clipboard. If you want to remove the selection and place it on the clipboard, use the Cut method.
Error
If nothing is selected, you get an error: "Document command is not available."