IsDuplicate Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Gets or sets a value which marks the misspelled word as duplicate. A duplicate word is not misspelled, but it has the same text as the word in front of it.
Syntax
public bool IsDuplicate { get; set; }Public Property IsDuplicate As BooleanExamples
The following example locates the first spelling issue in a short document by using MisspelledWord.IsDuplicate.
textControl.Text = "The quaterly report is ready.";
MisspelledWord misspelledWord = textControl.MisspelledWords.GetItem();
if (misspelledWord == null)
{
return;
}
misspelledWord.IsDuplicate = true;
misspelledWord.Select();textControl.Text = "The quaterly report is ready."
Dim misspelledWord As MisspelledWord = textControl.MisspelledWords.GetItem()
If misspelledWord Is Nothing Then
Return
End If
misspelledWord.IsDuplicate = True
misspelledWord.Select()