PHyphenation

Sets the hyphenation characteristics. The extent of the action depends on which tool is active, whether any text is selected, and whether a publication is open when the command is executed.


Command constructors

This class has two constructors.

PHyphenation(short cState, short nHyphenLimit, long xZone);

short cState;
kHyphManualOnly for Manual Only
kHyphPlusDictionary for Manual Plus Dictionary
kHyphPlusAlgorithm for Manual Plus Algorithm
short nHyphenLimit;
Maximum number of consecutive lines in a paragraph that can be ended by hyphens (from 1 to 255)
0 (zero) to specify no limit
long xZone;
Amount of space at end of line in which hyphenation should occur (maximum of two inches) in twips
PHyphenation();
Turn hyphenation off.
Adjusting the margin rag. In general, the larger xZone, the fewer words PageMaker will hyphenate and the more ragged the right margin will be. Conversely, the smaller the xZone, the more hyphenation will occur.

Example. The following example tells PageMaker to hyphenate words containing discretionary hyphens, as well as words in the user dictionary. It also specifies a limit of two hyphens per paragraph and a hyphenation zone (0.75 inches).

PHyphenation(kHyphPlusDictionary, 2, twips(".75i"));


See also

The PGetHyphenation query

Adobe PageMaker 6.5 Help > Commands > Type >Hyphenation


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support