API Documentation > CorelDRAW > 2025-v26 > StructHyphenationSettings > IVGStructHyphenationSettings
StructHyphenationSettings.MinWordLength property
Syntax:
Property Get MinWordLength() As Long
Property Let MinWordLength(ByVal Value As Long)
Remarks:
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.
Examples:
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