[]
        
(Showing Draft Content)

C1.WPF.SpellChecker.SpellDictionary.Load

Load Method

Load(Stream)

Loads the dictionary from a stream containing the compressed dictionary data.

Declaration
public override bool Load(Stream stream)
Parameters
Type Name Description
Stream stream
Returns
Type Description
bool

True if the dictionary was loaded successfully, false otherwise.

Overrides
Remarks

If the dictionary fails to load, this method returns false. In this case, you can check the value of the dictionary's State property to determine why the file failed to load.

Load(string)

Loads the dictionary from a file.

Declaration
public override bool Load(string fileName)
Parameters
Type Name Description
string fileName

The dictionary file.

Returns
Type Description
bool

True if the dictionary was loaded successfully, false otherwise.

Overrides
Remarks

If the dictionary fails to load, this method returns false. In this case, you can check the value of the dictionary's State property to determine why the file failed to load.