The C1Spell type exposes the following members.

Constructors

  NameDescription
C1Spell
Creates a new instance of the C1Spell class.

Methods

  NameDescription
AddChangeAllObsolete.
Adds a word to the ChangeAllPair collection.
AddCharToSeparateArr
Adds new char into the SeparateChars array.
AddIgnoreAll
Adds a word to the IgnoreAll collection with duplicate checking.
AddToCustomFile
Adds the specified word to the custom dictionary specified by the WhichCustomDict property.
CheckControlOverloaded.
CheckHTMLInControlOverloaded.
CheckHTMLStringOverloaded.
CheckStringOverloaded.
CheckTypingOverloaded.
Clear
Clears the contents of all spell-checking related properties.
ClearCheckTyping
Clears the content of the control properties that are related to the check typing process.
DeleteOptionSetting
Deletes the default spell-checking settings file.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetCallingAssembly
GetHashCode
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
IsCheckTyping
Indicates whether given control is being spell checked for typed text or not.
LoadSettingsOverloaded.
PartialClear
Clears the content of control properties related to the spell-checking process, but preserves the IgnoreAll and ChangeAllPair collections.
RemoveCharFromSeparateArr
Removes specified char from the SeparateChars array.
RemoveSkipCharsObsolete.
Clears the SkipCharsCollection property.
SaveSettingsOverloaded.
SkipInsideCharsObsolete.
Adds values to the SkipCharsCollection.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
AddBtnVisible
Sets or returns whether the Add button is displayed in the bad-word dialog box.
AverageWordLength
Returns the average length of the words that were checked.
BadWordCount
Returns the number of bad words which were found during the last spell check.
BadWordDialog
Sets or returns the BadWordDialogEnum object that represents whether the bad-word dialog will be used and the language that should be used to display it.
CancelSpelling
Gets or sets the value indicating whether the spell-checking process must be stopped or not.
CaretPosX
Returns the horizontal position of the caret in the edit window linked to the C1Spell control.
CaretPosY
Returns the vertical position of the caret in the edit window linked to the C1Spell control.
ChangeAllPair
Returns collection of the pairs "word - word to change". If the word currently being checked exists in the collection then it is automatically replaced with the corresponding word.
ChangeAllWords
Setting this property causes the word that is currently checked to be ignored and automatically replaces all words in the spell-checking text that are equal to the checked word with a value. After that, the currently checked word and the value are added to the ChangeAllPair collection.
CheckWord
Gets or sets the word being checked.
CommonWordCache
Gets or sets the CommonWordCacheEnum object that represents which cache of common words the control will use.
CustomDictFiles
Sets or returns the paths and filenames of the custom dictionary files.
CustomDictFilesCount
Sets or returns the number of custom dictionaries.
DialogChangedWord
Returns the last word typed by the user into the bad-word dialog box.
DialogProp
Gets or sets the DialogProperty object that represents the title, font and location of the bad-word dialog box.
DictionaryIsProtected
Returns whether the MainDictFile file was protected when it was created.
DictionaryLanguage
Gets the LanguageEnum object that represents the language of the MainDictFile file.
DictionaryVersion
Returns the version number of the MainDictFile file.
DisplayDefaultOption
Sets or returns if the default Options dialog box will be used.
ForceWordToCustomDict
Sets or returns if the changed word will be added to the custom dictionary.
HasSuggestions
Sets or returns whether suggestions are generated for bad words.
HelpBtnVisible
Sets or returns if the Help button is visible in the bad-word dialog box.
IgnoreAll
Returns collection of words that will be automatically ignored during spell checking.
IgnoreAllWord
Setting this property to True causes the word that is being checked to be ignored and adds it to the IgnoreAll collection.
IgnoreInMixedCase
Sets or returns if words with uppercase characters after lowercase characters are ignored during spell checking.
IgnoreInUpperCase
Sets or returns if words in all uppercase are ignored during spell checking.
IgnoreWithNumbers
Sets or returns if words containing numbers are ignored during spell checking.
IgnoreWord
Setting this property to True causes the currently checked word to be ignored.
IntegerTag
This property is similar to the Tag standard property.
IsOptionSettingFixed
Sets or returns if the option setting by users will persist when the application runs the next time.
LastSpellError
Returns the last error code that occurred in the C1Spell control.
MainDictFile
Sets or returns the fully qualified filename of the main dictionary file.
MaxMenuSuggests
Sets or returns the maximum number of suggestions in the context menu.
OptionBtnCaption
Sets or returns the caption of the Options button in the bad-word dialog box.
OptionBtnVisible
Sets or returns if the Options button is visible in the bad-word dialog box.
SelLength
Returns the length of the word currently being checked.
SelStart
Returns the zero-based offset to the beginning of the word currently being checked.
SeparateChars
Returns the current separation characters for the spelling.
ShowDefaultContextMenu
Sets or returns whether or not the default context menu will be shown.
SkipCharsCollection
Returns the CharPairCollection collection of characters which bounds the text to be skipped during spell checking.
StartPosition
Sets or returns the start checking position in the text.
Suggestions
Returns the suggested word specified by the element during a BadWord event.
Tag
Sets or returns a string to store any string information for the component.
TypingErrorAction
Sets or returns the TypingErrorActionEnum object that represents the action to be taken when a typing error is detected.
UIStrings
Get the UIStrings object that represents the array of the user interface strings.
UnderlineColor
Sets or returns the color of the underline effect used to highlight typing errors.
UnderlineStyle
Sets or returns the UnderlineStyleEnum object that represents the style of the underline effect used to highlight typing errors while check typing.
UseFileNameInComb
Gets or sets if the file name that will be used in the combobox in the Spelling Check dialog box.
UseUIStrings
Determines whether or not we use the UIStrings.
WhichCustomDict
Sets or returns which custom dictionary to use when adding words to the custom dictionary.
WordCount
Returns the number of words that were checked during the last spell check.
WordsPerMinute
Returns the number of words processed per minute during a spell check.

Events

  NameDescription
BadWord
Fired when a bad word is encountered during a spell check.
Changed
Fired after the checked string is changed.
Checking
Fired every second during spell checking to provide user feedback while checking long documents.
CheckStart
Fired right before the spell checking is started.
Complete
Fired after the spell check has been completed.
DialogAction
Fired when a button is clicked on the bad-word dialog box.
HelpBtnClick
Fired when the Help button on the bad-word dialog box is clicked.
OptionBtnClick
Fired when the Options button on the bad-word dialog box is clicked.
PopupDialog
Fires when the user clicks the Spelling item of the C1Spell run-time context menu.
SpellError
Fired when a spell-checking error occurs.
Suggestion
Fired after a word has been added to the Suggestions collection.
TypingError
Fired when a typing error is detected after the CheckTyping method is invoked.
TypingOK
Fired when a correct word is typed after the CheckTyping method is invoked.

See Also