Object Model Reference : Classes : S : StructHyphenationSettings : Properties : StructHyphenationSettings.HotZone |
Property HotZone As Double
Member of StructHyphenationSettings
The HotZone property returns or specifies the distance between the last word in a line and the right margin before hyphenation occurs.
• |
For the HotZone property to work, the
StructHyphenationSettings.UseAutomaticHyphenation property must be set
to True.
|
The following VBA example specifies a hyphenation hot-zone of 7 millimeters for the selected text object.
Sub Test() |
ActiveDocument.Unit = cdrMillimeter |
ActiveShape.Text.HyphenationSettings.HotZone = 7 |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.