public void IsDictionaryRegisteredEx()
{
//ExStart
//ExFor:Hyphenation.IsDictionaryRegistered(string)
//ExSummary:Shows how to open check if some dictionary is registered.
Document doc = new Document(MyDir + "Document.doc");
Hyphenation.RegisterDictionary("en-US", MyDir + "hyph_en_US.dic");
Console.WriteLine(Hyphenation.IsDictionaryRegistered("en-US")); // True
//ExEnd
}