PGetKernText

Gets the amount of kerning for the highlighted text.


Query results

This query returns a short representing the amount of kerning, in thousandths of an em. A negative value indicates the letters are kerned closer together.
Select text with PTextSelect command or text tool. To use this command, you must select the text (two or more characters) with the PTextSelect command (or the text tool). If no text is selected, PageMaker gets the kerning of the two letters on either side of the insertion point.

Example. Change the kerning of a letter pair, using the PKernText command.

PGetKernText currKernAmt;
short newAmt = currKernAmt * 2;
// double the kerning amount
PKernText(newAmt);


See also

The PGetTrack query.

The PManualKerning and PTrack commands



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

Comments or suggestions? Contact Adobe Developer Support