SpellCheckerText Property |
Sets the text to be spellchecked. It can be plain text or HTML.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic string Text { get; set; }
Public Property Text As String
Get
Set
public:
property String^ Text {
String^ get ();
void set (String^ value);
}
member Text : string with get, set
Property Value
Type:
String
Remarks
This property can be used to pass the text to the spellchecker engine programmatically. The engine can deal with plaintext or any HTML-like format.
It ignores text inside angle brackets (<>) and transforms HTML entities to their character values. E.g. & becomes &
C#:
using (SpellChecker checker = new SpellChecker(Server.MapPath("~/KaxControls/Spell/TDF")))
{
checker.Text = text;
return checker.Errors;
}
VB.NET
Dim checker As SpellChecker
Try
checker = New SpellChecker(Server.MapPath("~/KaxControls/Spell/TDF"))
checker.Text = text
Return checker.Errors
Finally
checker.Dispose()
End Try
See Also