Deletes the current selection from a document. The current selection can be anything in an editable field, such as text or graphics.
Call notesUIDocument .Clear
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.
If nothing is selected, you get an error: "Document command is not available."
@DeleteField function in formula language
@IsUnavailable function in formula language
EditClear @command in formula language
Clear @command in formula language