TexHyphenationDictionary Class
Represent a TeX hyphenation dictionary.
public sealed class TexHyphenationDictionary : HyphenationDictionaryPublic NotInheritable Class TexHyphenationDictionary
Inherits HyphenationDictionary- Inheritance:
- System.ObjectTexHyphenationDictionary
Methods
Hyphenate(String)
Hyphenates a specific word.
public override IList<int> Hyphenate(string word)Public Overrides Function Hyphenate(word As String) As IList(Of Integer)Parameters
word- System.String
A word to be hyphenated.
Returns
- System.Collections.Generic.IList<System.Int32>
A list of positions in a word where it can be hyphenated.
Overrides
Load(Stream)
Loads a hyphenation dictionary from the specified stream.
public static TexHyphenationDictionary Load(Stream stream)Public Shared Function Load(stream As Stream) As TexHyphenationDictionaryParameters
stream- System.IO.Stream
The stream from which to load a hyphenation dictionary.
Returns
A loaded hyphenation dictionary.
Load(String)
Loads a hyphenation dictionary from a file with the specified path.
public static TexHyphenationDictionary Load(string path)Public Shared Function Load(path As String) As TexHyphenationDictionaryParameters
path- System.String
The path from which to load a hyphenation dictionary.
Returns
A loaded hyphenation dictionary.