Create a new KaxSpellChecker object. You need to pass a correct path to the folder that contains the dictionary files (*.TDF)
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic SpellChecker(
string dictionaryPath
)
Public Sub New (
dictionaryPath As String
)
public:
SpellChecker(
String^ dictionaryPath
)
new :
dictionaryPath : string -> SpellChecker
Parameters
- dictionaryPath
- Type: SystemString
Remarks
The method expects local paths. E.g. "C:\SomeFolder\KaxControls\Spell\TDF". Transform URL's to local paths with the
MapPath(String) method.
C#
SpellChecker checker = new SpellChecker(Server.MapPath("~/KaxControls/Spell/TDF"));
VB.NET
Dim checker As SpellChecker
checker = New SpellChecker(Server.MapPath("~/KaxControls/Spell/TDF"))
See Also