GetBaseline Text Query Command

Get the baseline offset of the selected text, or the default baseline offset for new text.

GetBaseline [DOCUMENT document | WINDOW document-window | DEFAULT]

DOCUMENT/s

WINDOW/s

DEFAULT/b This parameter was added in 5.0.2.13

Default= active document

Results:

If the selected text covers different baselines, will return MIXED. Otherwise, will return the baseline.

Notes:

Examples:

GetBaseline

 

GetBaseline  Command Definition  url:PGScmd/getbaseline
  created:2006-03-31 13:18:57   last updated:2006-03-31 13:22:53
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For GetBaseline
Dan Kilroy wrote...2006-05-04 17:03:12

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

Gets the {...} .

<value|MIXED> = GetBaseline ([DOCUMENT document | WINDOW document-window | DEFAULT])


Parameters:


Results:


Notes:


See Also:
GetFont, GetTypeSize, GetTypeWidth


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For GetBaseline