PWordSpace

Sets the acceptable range of space between words in justified text. 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.

PWordSpace(short dWordMin, short dWordDesired, short dWordMax);
short dWordMin;
Minimum space, as a percentage from 0% to 500% in tenths of a percent (100.0% = 1000).
kParmDontCare to leave current setting unchanged
short dWordDesired;
Desired space, as a percentage from 0% to 500% in tenths of a percent (100.0% = 1000).
kParmDontCare to leave current setting unchanged
short dWordMax;
Maximum space, as a percentage from 0% to500% in tenths of a percent (100.0% = 1000).
kParmDontCare to leave current setting unchanged
PWordSpace(const PGetWordSpace& wordSpace);
This constructor takes a PGetWordSpace query object and uses its values to set the word space settings. This can be useful to save and restore settings.
Spacing percentage relates to font. The percentages specified for the parameter values are relative to the size of the space character provided by the font manufacturer.

Relationships of the three parameters. Make sure that dWordMin is less than or equal to the percentage set for dWordDesired, and that dWordMax is greater than or equal to the percentage set for dWordDesired.

Example. The following example sets the minimum spacing allowed between words at 75% of the desired spacing (the space band for the selected font), and sets the maximum spacing at 50% larger than the desired spacing.

PWordSpace(750, 1000, 1500);


See also

The PLetterSpace command

Adobe PageMaker 6.5 Help > Commands > Type > Paragraph


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

Comments or suggestions? Contact Adobe Developer Support