TX Spell .NET for WPF

MinSyllablesAfterCompoundHyphenationPoint Property

Property|Introduced in 4.0
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WPF.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 behind a compound hyphenation point. The default value is 1.

Syntax

public int MinSyllablesAfterCompoundHyphenationPoint { get; set; }

Examples

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

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