Class HyphenationDictionary
Provides hyphenation points for words in a specific language.
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public abstract class HyphenationDictionary
Remarks
Returned positions are zero-based character offsets at which a word may be split. The dictionary owns the language association; register it with Hyphenation for a language tag before requesting hyphenation points.
Methods
Hyphenate(string)
Gets the possible hyphenation positions for a word.
Declaration
public abstract IList<int> Hyphenate(string word)
Parameters
| Type | Name | Description |
|---|---|---|
| string | word | The word to hyphenate. |
Returns
| Type | Description |
|---|---|
| IList<int> | A list of zero-based split positions, or an empty list when no split is known. |
Remarks
Returned positions are zero-based character offsets at which a word may be split. The dictionary owns the language association; register it with Hyphenation for a language tag before requesting hyphenation points.