PRemoveWord

Removes the specified word from the user dictionary for spell checking and hyphenation.


Command constructors

PRemoveWord(const char * sWord, const char * sLanguage);
const char * sWord;
Word to remove from user dictionary (maximum 63 characters)
const char * sLanguage;
Name of language dictionary exactly as it appears in Dictionary list box (maximum of 15 characters)
PRemoveWord(const char * sWord);
const char * sWord;
Word to remove from user dictionary (maximum 63 characters). The word is removed from the dictionary assigned to the paragraph containing the insertion point or selected with the text tool.
Multiple paragraphs. If you do not specify a language (second constructor) and more than one paragraph is selected, but the paragraphs have different dictionaries assigned to them, the PRemoveWord command removes the word from the publication default user dictionary.

Text tool not active. In layout view, if you do not specify a language and a tool other than the text tool is selected, the PRemoveWord command removes the word from the publication default user dictionary.

Example. The following example removes the word "quark"from the UK English user dictionary.

PRemoveWord("quark", "UK English");


See also

The PAddWord, PSpell, and PSpellWindow commands

The PGetPMInfo, PGetSpellResult, and PGetSpellWindow queries

Adobe PageMaker 6.5 Help > Commands > Type > Hyphenation


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support