)
We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to use custom dictionary in WinForms SpellChecker (SpellCheckerAdv)?

Platform: WinForms |
Control: SpellChecker |
Published Date: May 31, 2018 |
Last Revised Date: May 18, 2020 |
.NET Framework: 4

Custom dictionary in SpellCheckerAdv

SpellCheckerAdv supports English language by default and have default predefined dictionary for this. It offers to configure other languages using its CustomDictionary support. Follow the below step for Custom Language Spellcheck.

 

Step 1: Need to create dictionary file for user desired language and add necessary words details in it.

Step 2: Then need to attach it with the application and define this file location in its property named CustomDictionaryPath.

 

The CustomDictionaryPath property is used to passing the file path of the user defined custom dictionary. SpellCheckerAdv will function based on the newly defined Custom Dictionary Language. Please make use of the below code example.

 

C#

private string BasePath = Path.GetDirectoryName(Application.ExecutablePath) + "\\..\\..\\CustomDictionary\\";
//To add custom dictionary into the SpellChecker
 this.spellChecker1.CustomDictionaryPath = BasePath + "\\UK Dictionary.dic";

 

VB

Private BasePath As String = Path.GetDirectoryName(Application.ExecutablePath) & "\..\..\CustomDictionary\"
'To add custom dictionary into the SpellChecker
 Me.spellChecker1.CustomDictionaryPath = BasePath & "\\UK Dictionary.dic"

 

 

Reference link: https://help.syncfusion.com/windowsforms/spell-checker/custom-dictionary

 

Screenshot:

 

Image of SpellChecker

 

View Sample in Github

 

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon