PGetWordSpace

Gets the Word Space setting applied to the highlighted text or to the paragraph containing the insertion point.


Query results

short dWordMin;
Minimum percentage of built-in word space (used for justified text) in tenths of a percent (100.0% = 1000), although command uses only whole percentages.
short dWordDesired;
Desired percentage of built-in word space in tenths of a percent (100.0% = 1000), although command uses only whole percentages.
short dWordMax;
Maximum percentage of built-in word space (used for justified text) in tenths of a percent (100.0% = 1000), although command uses only whole percentages.
Defining and editing styles. If you are defining or editing a style using the PStyleBegin command, PageMaker gets the Word Space settings for that style rather than for the selected text.

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

Pointer tool active. If the pointer tool is active, PageMaker gets the default Word Space settings.


See also

The PGetLetterSpace query

The PGetTrack and PWordSpace commands


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

Comments or suggestions? Contact Adobe Developer Support