GetDimensions Document Query Command

GETDIMENSIONS Document Queries

Gets the dimensions of a master page.

getdimensions [MASTERPAGE name]

stem/a Gets the dimensions.

MASTERPAGE/s The master page name. Default=current.

Results:

stem

width/d The width.

height/d The height.

orientation/k The orientation: PORTRAIT | LANDSCAPE.

spreads/k The spread type: FACING | INDIVIDUAL.

sides/k The number of sides: SINGLE | DOUBLE.

Examples:

getdimensions size

 

GetDimensions  Command Definition  url:PGScmd/getdimensions
  created:2006-03-30 22:20:06   last updated:2006-03-30 22:20:06
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For GetDimensions
Dan Kilroy wrote...2006-05-03 18:42:28

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

Gets the {...} .

GetDimensions (mparray / .WIDTH .HEIGHT .ORIENTATION<PORTRAIT|LANDSCAPE>. SIDES<SINGLE|DOUBLE>.SPREADS<FACING|INDIVIDUAL> [MASTERPAGE document:...-masterpage | DOCUMENT document | WINDOW document-window])


Parameters:


Results:
SPREADS was missing prior to 5.0.3.4.

Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For GetDimensions