I've been trying to get the editor to load a different language for spellcheck, I have the tdf files saved as resources in my assembly.
this is the code:
what am I doing wrong?
this is the code:
private void LoadDictionary(string language) { var res = Properties.Resources.es_ES; MemoryStream tdfFileStream = new MemoryStream(); tdfFileStream.Write(res, 0, res.Length); RadDictionary dictionary = new RadDictionary(); dictionary.Load(tdfFileStream); ((DocumentSpellChecker)editor.SpellChecker).AddDictionary(dictionary, CultureInfo.InvariantCulture); }what am I doing wrong?
