PSpaceOptions

Sets spacing attributes for 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 command has two constructors.

PSpaceOptions(PMBool bAutoKerning, short dPtThreshold, eLead cLeading, short dAutoleading);

PMBool bAutoKerning;
false to turn pair kerning off
true to turn pair kerning on
short dPtThreshold;
Point size of text above which PageMaker will automatically kern pairs of letters in tenths of a point (8.0 = 80).
eLead cLeading;
kLeadProportional (these constants are defined in PKeywords.h)
kLeadTopOfCaps
kLeadBaseline
short dAutoleading;
Percentage of font point-size to use for automatic leading (from 0 to 200) in tenths of a percent (100.0% = 1000).
PSpaceOptions(const PGetSpaceOptions& spaceOpts);
Use the specified PGetSpaceOptions query object to set the space options.
Editing kern tables. Character pairs to be kerned and kerning amounts are specified by the font manufacturer. You activate pair kerning using PSpaceOptions. To alter the kerning rules set in a kern table by the font manufacturer, use a commercially available kern-table editor.

Example. The following example turns pair kerning on and specifies that any pairs in a point size larger than 10 will be kerned. It sets proportional leading and autoleading at 30% larger than the font point-size.

PSpaceOptions(true, 10, kLeadProportional, 130);


See also

The PKernText, PLetterSpace, PManualKerning, PTrack, and PWordSpace commands

The PGetSpaceOptions query

Adobe PageMaker 6.5 Help > Commands > Type > Paragraph


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

Comments or suggestions? Contact Adobe Developer Support