Initializes a new instance of the HyphenationList class.


public HyphenationList(string hyphenationListPath);
Public Sub New(hyphenationListPath As String)

HyphenationList(String[], System.Globalization.CultureInfo)

public HyphenationList(string[] hyphenationListLines, System.Globalization.CultureInfo language);
Public Sub New(hyphenationListLines As String(), language As System.Globalization.CultureInfo)


Parameter Description
hyphenationListPath Specifies the path for the Hunspell Open Source hyphenation dictionary dict file. By specifying only the the dictionary name without any file path, the corresponding hyphenation dictionary file of the default hyphenation list folder is used. The name of the specified Hunspell Open Source hyphenation dictionary file must start with "hyph_" and end with ".dic". If the file does not exist, an ArgumentException is thrown.
hyphenationListLines The string array that represents the content of a Hunspell Open Source hyphenation dictionary file. Each string of this array is considered as a line of the dictionary file.
language Specifies the language of the hyphenation list.