GetTypeWidth Text Query Command

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

GetTypeWidth [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 widths, will return MIXED. Otherwise, will return the type width.

Notes:

Examples:

GetTypeWidth

 

GetTypeWidth  Command Definition  url:PGScmd/gettypewidth
  created:2006-03-31 13:13:16   last updated:2006-03-31 13:13:16
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For GetTypeWidth
Dan Kilroy wrote...2006-05-04 17:02:23

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

Gets the {...} .

<width|MIXED> = GetTypeWidth ([DOCUMENT document | WINDOW document-window | DEFAULT])


Parameters:


Results:


Notes:


See Also:
GetBaseline, GetFont, GetTypeSize

Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For GetTypeWidth