PGetLetterSpace

Gets the letter-spacing attributes assigned to the selected text or the paragraph containing the insertion point.


Query results

short dLetterMin;
Minimum percentage of built-in word space added or subtracted to letter pen-advance (used for justified text) in tenths of a percent (100% = 1000), although command uses only whole percentages.
short dLetterDesired;
Desired percentage of built-in word space added or subtracted to letter pen-advance in tenths of a percent (100% = 1000), although command uses only whole percentages.
short dLetterMax;
Maximum percentage of built-in word space added or subtracted to letter pen-advance (used for justified text) in tenths of a percent (100% = 1000), although command uses only whole percentages.
Defining or editing a style. If you are defining or editing a style using the PStyleBegin command, PageMaker gets the letter-spacing attributes for that style rather than for the selected text.

Multiple settings. If multiple paragraphs are selected and they have different letter-spacing attributes, PageMaker returns -2 for the parameters with conflicting settings. Because PageMaker also returns -2 when the letter spacing is set to-2, this reply may be ambiguous in such cases.

Pointer tool active. If the pointer tool is active, PageMaker gets the default letter-spacing attributes.

To change the letter-spacing attributes, use the PLetterSpace command.


See also

The PGetWordSpace query



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

Comments or suggestions? Contact Adobe Developer Support