TXTextControl.Proofing.HyphenationList Constructor

Initializes a new instance of the HyphenationList class.

HyphenationList(String)

Initializes a new instance of the HyphenationList class by loading a Hunspell Open Source hyphenation dictionary from a file.

[C#]
public HyphenationList(string hyphenationListPath);
[Visual Basic]
Public Sub New(hyphenationListPath As String)
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.

HyphenationList(String[], CultureInfo)

Initializes a new instance of the HyphenationList class by loading a hyphenation dictionary from string arrays that represent the content of a Hunspell Open Source hyphenation dictionary

[C#]
public HyphenationList(string[] hyphenationListLines, System.Globalization.CultureInfo language);
[Visual Basic]
Public Sub New(hyphenationListLines As String(), language As System.Globalization.CultureInfo)
Parameter Description
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.