GetFont Text Query Command

Get the font of the selected text, or the default font for new text.

GetFont [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 fonts, will return MIXED. Otherwise, will return the name of the font.

Notes:

Examples:

GetFont

 

GetFont  Command Definition  url:PGScmd/getfont
  created:2006-03-31 13:07:21   last updated:2006-03-31 13:07:21
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For GetFont
Dan Kilroy wrote...2006-05-04 17:01:00

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

Gets the {...} .

<fontname|MIXED> = GetFont ([DOCUMENT document | WINDOW document-window | DEFAULT])

Parameters:


Results:


Notes:


See Also:
GetBaseline, GetTypeSize, GetTypeWidth


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For GetFont