
Methods
Methods are the functions your application calls to cause ActiveX Speller to perform some action.
AddMainDictionary
Add a new main dictionary file to the set of main dictionaries.
AddUserDictionary
Add a new user dictionary file to the set of user dictionaries.
AddToUserDictionary
Add a word to a specified user dictionary. This method will also optionally associate an action and alternate word to with the word. See About user dictionaries and actions for more information on user dictionaries and action codes.
CheckBackgroundNotify
Monitor typing in a rich-text control, and report misspelled words by changing their color to red. Right-clicking the mouse over a misspelled word presents a context menu containing suggested replacements and other spelling-checker actions.
ClearTempDictionary
Remove all words from the temporary dictionary used to record words marked ignore-all and replace-all by the user.
CreateUserDictionary
Create a new user dictionary, and add it to the set of user dictionaries. Call this method to create a new user dictionary if the file does not already exist. If the file already exists, use the AddUserDictionary method instead.
DeleteFromUserDictionary
Remove a word from a specified user dictionary.
DeleteWord
Deletes the current word from the Text property. Any leading white space characters are also deleted. This method is useful for removing the second occurrence of a doubled word. This method is called automatically by the built-in spell check dialog box when then Delete button is pressed.
IgnoreAllWord
Causes the current word to be skipped, and all further occurrences of the MisspelledWord to be skipped as well. The word is added to the temporary dictionary. This method is called automatically by the built-in spell check dialog box when the Ignore All button is pressed.
IgnoreWord
Skips over the current word. This method is called automatically by the built-in spell check dialog box when the Ignore button is pressed.
NextWord
Advance to the next word in the text being checked. The CurrentWord property changes to the next word.
RemoveMainDictionary
Remove the specified main dictionary file from the set of main dictionaries.
RemoveUserDictionary
Remove the specified user dictionary file from the set of user dictionaries.
ReplaceAllWord
Substitutes the word in the ReplacementWord property for the current word in the Text property, and substitutes all further occurrences of MisspelledWord with the ReplacementWord. The replacement is added to the temporary dictionary, so the replacements will be made automatically until the temporary dictionary is cleared. This method is called automatically by the built-in spell check dialog box when then Change All button is pressed.
ReplaceWord
Substitutes the word in the ReplacementWord property for the current word in the Text property. This method is called automatically by the built-in spell check dialog box when then Change button is pressed.
Resume
Continue checking the text in the Text property. This method is usually called after detection of a misspelled word has been signaled by the MisspelledWord, Capitalization, MixedCaseWord, or WordWithDigits events. After disposing of the problem (e.g., by calling the IgnoreWord or ReplaceWord methods), your application calls the Resume method to continue checking. Also see the Start method.
ShowOptionsDialog
Calling this method presents the built-in Option dialog box, which is used to set spelling-checker options.
ShowUserDictionaryDialog
Calling this method presents the built-in user-dictionary dialog box, which is used to edit the contents of user dictionaries.
Start
Begin a spelling-check operation. The text in the Text property is checked for spelling errors (including other problems such as doubled words, based on other property settings). If the ShowDialog property is True, the built-in spelling-checker dialog will interact with the user to dispose of any spelling errors found. In this case, the Start method will not return until the spelling check is complete. If the ShowDialog property is False, your application can respond to spelling errors by catching events fired by ActiveX Speller.
Suggest
Look up suggested replacements for the word in the MisspelledWord property. See Locating Suggestions for more information on looking up suggestions.
TestWord
Quickly check the spelling of a single word. This method returns True if the word is spelled correctly, and False otherwise.
Undo
Reverses the last change made to the text in the Text property.

Home | Order Now | Products | Upgrades | Free Trial | Partners | About Spellex | Contact Us | Site Map | Privacy Policy
Spellex Corporation © 2008. All rights reserved












