GetTypeSize Text Query Command

Get the type size of the selected text, or the default type size for new text.

GetTypeSize [DOCUMENT document | WINDOW document-window | DEFAULT]P>

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 type sizes, will return MIXED. Otherwise, will return the type size.

Notes:

Examples:

GetTypeSize

 

GetTypeSize  Command Definition  url:PGScmd/gettypesize
  created:2006-03-31 13:13:16   last updated:2006-03-31 13:13:16
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For GetTypeSize
Dan Kilroy wrote...2006-05-04 17:01:18

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

Gets the {...} .

<size|MIXED> = GetTypeSize ([DOCUMENT document | WINDOW document-window | DEFAULT])

Parameters:


Results:


Notes:


See Also:
GetBaseline, GetFont, GetTypeWidth

Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For GetTypeSize