Previous Document Next Document

Object Model Reference : Classes : S : StructHyphenationSettings : Properties : StructHyphenationSettings.MinWordLength


StructHyphenationSettings.MinWordLength

Property MinWordLength As Long

Description

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.
VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.