ASP.NET Core - EJ2

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SpellChecker - ASP.NETCore-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SpellChecker

    The spell checker

    Inheritance
    System.Object
    SpellChecker
    Implements
    System.Runtime.Serialization.ISerializable
    Namespace: Syncfusion.EJ2.SpellChecker
    Assembly: Syncfusion.EJ2.SpellChecker.dll
    Syntax
    public class SpellChecker : Object, ISerializable

    Constructors

    SpellChecker(List<DictionaryData>)

    Initialize spell checker

    Declaration
    public SpellChecker(List<DictionaryData> dictItem)
    Parameters
    Type Name Description
    System.Collections.Generic.List<DictionaryData> dictItem

    SpellChecker(List<SpellCheckDictionary>)

    Initialize spell checker

    Declaration
    public SpellChecker(List<SpellCheckDictionary> dictItem)
    Parameters
    Type Name Description
    System.Collections.Generic.List<SpellCheckDictionary> dictItem

    The spell check dictionary collection

    Methods

    CheckSpelling(Int32, String)

    Method to check spelling for the text or page content.

    Declaration
    public void CheckSpelling(int languageID, string textToCheck)
    Parameters
    Type Name Description
    System.Int32 languageID

    the language ID

    System.String textToCheck

    Text/Page content to be spell checked

    GetObjectData(SerializationInfo, StreamingContext)

    Retrieves serialized informaion

    Declaration
    public void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    the info

    System.Runtime.Serialization.StreamingContext context

    the context

    GetSuggestions(Int32, String, Boolean, Boolean, Boolean)

    Method to retrieve spelling error and suggestion for the given word

    Declaration
    public void GetSuggestions(int languageID, string data, bool checkSpelling, bool checkSuggestion, bool addWord)
    Parameters
    Type Name Description
    System.Int32 languageID

    the Language ID

    System.String data

    the data

    System.Boolean checkSpelling

    check spelling

    System.Boolean checkSuggestion

    check suggestion

    System.Boolean addWord

    add word

    Implements

    System.Runtime.Serialization.ISerializable
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved