Platforms to show: All Mac Windows Linux Cross-Platform

Back to WinSpellCheckerMBS class.

WinSpellCheckerMBS.IsSupported(languageTag as String) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spell Checking MBS WinFrameworks Plugin 21.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Determines if the specified language is supported by a registered spell checker.
Example
If WinSpellCheckerMBS.IsSupported("en-US") Then
MsgBox "US-English is supported."
Else
MsgBox "US-English is not supported!"
End If

If WinSpellCheckerMBS.IsSupported("de-CH") Then
MsgBox "Swiss German is supported."
Else
MsgBox "Swiss German is not supported!"
End If

languageTag: A BCP47 language tag that identifies the language for the requested spell checker. e.g. "en-US"

Returns true if supported; false if not supported.

Raises WinSpellCheckerExceptionMBS in case of an error.

Some examples using this method:

WinSpellCheckerMBS.RegisterUserDictionary(dictionaryPath as String, languageTag as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spell Checking MBS WinFrameworks Plugin 21.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Registers a file to be used as a user dictionary for the current user, until unregistered.

dictionaryPath: The path of the dictionary file to be registered.
languageTag: The language for which this dictionary should be used. If left empty, it will be used for any language.

Raises WinSpellCheckerExceptionMBS in case of an error.

WinSpellCheckerMBS.SupportedLanguages as String()

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spell Checking MBS WinFrameworks Plugin 21.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Gets the set of languages/dialects supported by any of the registered spell checkers.
Example
MsgBox Join(WinSpellCheckerMBS.SupportedLanguages, EndOfLine)

The supported languages are specific, not neutral.
For Hebrew, for example, the supported language is "he-IL", not "he".

Raises WinSpellCheckerExceptionMBS in case of an error.

WinSpellCheckerMBS.UnregisterUserDictionary(dictionaryPath as String, languageTag as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Spell Checking MBS WinFrameworks Plugin 21.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Unregisters a previously registered user dictionary. The dictionary will no longer be used by the spell checking functionality.

dictionaryPath: The path of the dictionary file to be unregistered.
languageTag: The language for which this dictionary was used. It must match the language passed to RegisterUserDictionary.

Raises WinSpellCheckerExceptionMBS in case of an error.

The items on this page are in the following plugins: MBS WinFrameworks Plugin.


The biggest plugin in space...