Examples: SpellCheck method
This script checks the spelling of a UI document.
Sub Click(Source As Button)
Dim workspace As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc = workspace.CurrentDocument
Call uidoc.SpellCheck()
End Sub