Hyphenation Methods

The Hyphenation type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCode exampleIsDictionaryRegistered
Returns False if for the specified language there is no dictionary registered or if registered is Null dictionary, True otherwise.
Public methodStatic memberCode exampleRegisterDictionary(String, Stream)
Registers and loads a hyphenation dictionary for the specified language from a stream. Throws if dictionary cannot be read or has invalid format.
Public methodStatic memberCode exampleRegisterDictionary(String, String)
Registers and loads a hyphenation dictionary for the specified language from file. Throws if dictionary cannot be read or has invalid format.

This method can also be used to register Null dictionary to prevent Callback from being called repeatedly for the same language.
Public methodStatic memberCode exampleUnregisterDictionary
Unregisters a hyphenation dictionary for the specified language.

This is different from registering Null dictionary. Unregistering a dictionary enables callback for the specified language.
See Also