SetLeading Text Command

SETLEADING Text Commands

Sets the leading at the insertion point, for selected text or for a style tag.

setleading [type amount] [MAINTAIN ] [DOCUMENT name | WINDOW name | STYLETAG name]

type/k The leading method.

Options: AUTOMATIC Automatic line spacing.
FIXED Fixed leading.
RELATIVE Relative leading.

amount/d The leading amount.

MAINTAIN/k Toggles maintain leading.

Options: on | off.

DOCUMENT/s The document name.

WINDOW/s The window name.

STYLETAG/s Sets the attribute for a style tag.

Notes:

Automatic and fixed leading are measured in the text measurement system unless specified otherwise, while relative leading is a percentage of the type size.

Examples:

setleading automatic 3

setleading relative 120 'project.doc'

setleading fixed '14pt'

 

SetLeading  Command Definition  url:PGScmd/setleading
  created:2006-03-31 10:52:56   last updated:2006-03-31 10:52:56
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SetLeading
Dan Kilroy wrote...2006-05-04 17:06:49

Script command submitted from PageStream internal documentation. Needs to be checked and merged with the command documentation above.

Gets the {...} .

SetLeading ([{PGS50:GLOBALGRID |} AUTOMATIC value | FIXED value | RELATIVE %value | LOCALGRID value] [MAINTAIN [ON | OFF]] [DOCUMENT document | WINDOW document-window | STYLETAG document:...-tagname])

Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For SetLeading