Syntax
ToolsHyphenation [.AutoHyphenation = number] [.HyphenateCaps = number] [, .HyphenationZone = number or text] [, .LimitConsecutiveHyphens = number]
Remarks
Hyphenates the selected text or the entire document. The arguments for the ToolsHyphenation statement correspond to the options in the Hyphenation dialog box (Tools menu).
Argument | Explanation | |
.AutoHyphenation | If 1, hyphenates without prompting for verification. | |
.HyphenateCaps | If 1, allows hyphenation of words in all capital letters. | |
.HyphenationZone | A measurement for the hyphenation zone in points or a text measurement. The hyphenation zone is the maximum amount of space to allow between the end of a line and the right margin. | |
.LimitConsecutiveHyphens | The maximum number of consecutive lines that can end with hyphens (or 0 (zero) for No Limit). |
Example
This example begins hyphenation, allowing hyphenation of words in all capital letters and setting a hyphenation zone of 24 points:
ToolsHyphenation .AutoHyphenation = 1, .HyphenateCaps = 1, \ .HyphenationZone = "24 pt"
See Also
ToolsHyphenationManual