API Documentation > CorelDRAW > 2025-v26 > StructAlignProperties > IVGStructAlignProperties
StructAlignProperties.MaxWordSpacing property
Syntax:
Property Get MaxWordSpacing() As Single
Property Let MaxWordSpacing(ByVal Value As Single)
Remarks:
The MaxWordSpacing property returns or specifies the maximum amount of space that can exist between words. This value represents a percentage of the Space character (that is, the character inserted when you press the Spacebar). The maximum value is 2000; the minimum value is 0.
Examples:
The following VBA example specifies the adjustment range for character and word spacing in the selected text object.
Sub Test()
With ActiveShape.Text.AlignProperties
  .MaxCharacterSpacing = 200
  .MinWordSpacing = 50
  .MaxWordSpacing = 150
End With 
End Sub