Returns the next hyphenation point for a specific word right before a defined divide position. Using the first implementation that point is caluclated by applying the default hyphenation list. The second implementation uses a hyphenation list of the TXSpell
Introduced: 4.0.
public int GetHyphenationPoint(string word, int dividePosition);
Public Function GetHyphenationPoint(ByVal word As String, ByVal dividePosition As Integer) As Integer
public int GetHyphenationPoint(string word, int dividePosition, System.Globalization.CultureInfo language);
Public Function GetHyphenationPoint(ByVal word As String, ByVal dividePosition As Integer, language As System.Globalization.CultureInfo) As Integer
Parameter | Description |
---|---|
word | The word to hyphenate. |
divide |
The defined divide position. |
language | The language, which is used to calculate the hyphenation point. If the TXSpell |
The next hyphenation point right before the defined divide position.