PGetHyphenation

Gets the hyphenation settings assigned to the selected text or to the paragraph containing the insertion point.


Query results

short cState;
0 for off
kHyphManualOnly (1) for Manual Only
kHyphPlusDictionary (2) for Manual Plus Dictionary
kHyphPlusAlgorithm (3) for Manual Plus Algorithm
kParmDontCare (-2) for multiple settings
short nHyphenLimit;
Maximum number of consecutive hyphens
0 for No Limit
kParmDontCare for multiple settings
long xZone;
Hyphenation zone
kParmDontCare for multiple settings
Defining or editing a style. If you are defining or editing a style using the PStyleBegin command, PageMaker gets the hyphenation setting for that style, rather than for the selected text.

Pointer tool active. If the pointer tool is active, PageMaker gets the default hyphenation setting.

Multiple settings. If multiple paragraphs are selected and they have different hyphenation settings, PageMaker returns -2 for the parameters with conflicting settings.

To change the hyphenation settings, use the PHyphenation command class.

PGetHyphenation hyphen;
if (hyphen.cState == 1) ...


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

Comments or suggestions? Contact Adobe Developer Support