public void UnregisterDictionaryEx()
{
//ExStart
//ExFor:Hyphenation.UnregisterDictionary(string)
//ExSummary:Shows how to un-register a dictionary
Document doc = new Document(MyDir + "Document.doc");
Hyphenation.RegisterDictionary("en-US", MyDir + "hyph_en_US.dic");
Hyphenation.UnregisterDictionary("en-US");
Console.WriteLine(Hyphenation.IsDictionaryRegistered("en-US")); // False
//ExEnd
}
}