Skip to main content

SpellCheckerOpenOfficeDictionary.LoadFromStream(Stream, Stream, Stream) Method

Loads dictionary and affix rules from specified streams into the current SpellCheckerOpenOfficeDictionary object, and initializes it.

Namespace: DevExpress.XtraSpellChecker

Assembly: DevExpress.SpellChecker.v24.1.Core.dll

NuGet Package: DevExpress.SpellChecker.Core

Declaration

public override void LoadFromStream(
    Stream dictionaryStream,
    Stream grammarStream,
    Stream alphabetStream
)

Parameters

Name Type Description
dictionaryStream Stream

A Stream object which stores the base word list

grammarStream Stream

A Stream object which stores the affix rules list.

alphabetStream Stream

A Stream object which stores the language’s alphabet.

Remarks

Use this method when file system storage is unavailable or inconvenient. Dictionaries can be included into resource assemblies, or become available from a server via the web .

The dictionary file passed as the dictionaryStream parameter can contain alphabet characters . In this case, you can pass null as the alphabetStream of the LoadFromStream method. If the dictionary does not have an alphabet, you can pass an alphabet file as the third parameter of the LoadFromStream method.

See Also