Object Model Reference : Classes : S : StructHyphenationSettings : Properties : StructHyphenationSettings.MinWordLength |
Property MinWordLength As Long
Member of StructHyphenationSettings
The MinWordLength property returns or specifies the minimum number of characters required for a word to receive automatic hyphenation.
• |
For the MinWordLength property to work, the
StructHyphenationSettings.UseAutomaticHyphenation property must be set
to True.
|
The following VBA example enables automatic hyphenation for the selected text object, specifying a minimum word length of 6 characters for hyphenation.
Sub Test() |
With ActiveShape.Text.HyphenationSettings |
.UseAutomaticHyphenation = True |
.MinWordLength = 6 |
End With |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.