• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class HyphenationDictionary

Provides hyphenation points for words in a specific language.

Inheritance
object
HyphenationDictionary
PatternHyphenationDictionary
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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.

Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX