PCase

Formats text as normal, all capitals, or small capitals. 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 constructor

PCase(eCase cCase);
kCaseNormal to leave uppercase and lower case letters as typed
kCaseAllcaps to change all letters to full-size capitals
kCaseSmallcaps to change lowercase letters to small capitals
Specifying smallcaps size. The size of small capitals is specified in the Type Options dialog box (by selecting the Options button in the Type Specifications dialog box) or with the PTypeOptions command.

No override for Caps Lock key. You cannot use the PCase command to change the case of characters typed when the Caps Lock key is on.

Example. The following example changes the currently selected text to all caps.

PCase(kCaseAllcaps);


See also

The PGetCase and PGetTypeOptions queries

Adobe PageMaker 6.5 Help > Commands > Type > Type Specs


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

Comments or suggestions? Contact Adobe Developer Support