TX Spell .NET for Windows Forms

MinSyllablesBeforeCompoundHyphenationPoint Property

Property|Introduced in 4.0
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WinForms.SDK as TXSpell.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TXSpell.Core.SDK as TXSpell.dll

Description

Specifies the minimum number of syllables before a compound hyphenation point. The default value is 1.

Syntax

public int MinSyllablesBeforeCompoundHyphenationPoint { get; set; }

Examples

The following example uses HyphenationList.MinSyllablesBeforeCompoundHyphenationPoint to configure min syllables before compound hyphenation point as part of the hyphenation list workflow. The configured value is checked before the workflow continues.

hyphenationList.MinSyllablesBeforeCompoundHyphenationPoint = 10;
Console.WriteLine($"Min Syllables Before Compound Hyphenation Point used by Hyphenation List: {hyphenationList.MinSyllablesBeforeCompoundHyphenationPoint}");