This topic explains how to adjust the offset of the spellchecked words’ underline that appears under the misspelled word.
The UnderlineVerticalOffset property accepts integer value (positive/negative) that allows setting the offset vertically for the underline of the misspelled word.
The following example demonstrates the SpellChecker underline adjustment with a property setting. The word “underlyne” is intentionally misspelled to demonstrate the feature by shifting the underline down.
Configuring the UnderlineVerticalOffset
through property grid.
Configuring UnderlineVerticalOffset
in code behind.
In C#:
ultraSpellChecker1.UnderlineVerticalOffset = 5;
In Visual Basic:
ultraSpellChecker1.UnderlineVerticalOffset = 5
The following topics provide additional information related to this topic.