MaxDividePos Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets the maximum dividing position. For example, when this value is 3, the first 3 characters of the word is the maximum part of the word which fit on the line.
Syntax
public int MaxDividePos { get; }Public ReadOnly Property MaxDividePos As IntegerExamples
The following example uses HyphenateWordEventArgs.MaxDividePos while handling HyphenateWord.
textControl.HyphenateWord += (_, e) =>
{
Console.WriteLine($"Max Divide Pos: {e.MaxDividePos}");
};AddHandler textControl.HyphenateWord,
Sub(sender, e)
Console.WriteLine($"Max Divide Pos: {e.MaxDividePos}")
End Sub