<< NewIndexXRef | NewStyleTag >> |
Top: Documentation Library | Up: N Commands |
NewMasterPage Document Command
NEWMASTERPAGE Document Commands
Creates a new master page in a document or chapter.
newmasterpage
name/s The new master page name.
width/d The master page width.
height/d The master page height.
orientation/k The orientation: PORTRAIT (default) | LANDSCAPE.
sides/k The number of sides: SINGLE (default) | DOUBLE.
spread/k The facing pages setting: FACING | INDIVIDUAL.
CHAPTER/s The document/chapter name.
Default=current.
WINDOW/s The window name. Default=current.
Notes:
This command is not equivalent to the menu's Master Page Setup command. To set all the options in that dialog box you must also use the setmarginguides and setcolumnguides commands. The parameters set in this command can be changed later with the setdimensions command.
Examples:
newmasterpage 'Columnar' 8.5 11 landscape double
NewMasterPage Command Definition url:PGScmd/newmasterpage
created:2006-03-30 17:19:29 last updated:2006-03-30 17:19:29
Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.
User Contributed Comments For NewMasterPage | sign in to add a comment |
Dan Kilroy wrote... | 2006-05-03 18:35:07 |
Script command submitted from PageStream internal documentation. Needs to be checked and merged with the command documentation above. Create the {...} . newmasterpagename = NewMasterPage (masterpagename pagew pageh [PORTRAIT | LANDSCAPE] [SINGLE | DOUBLE] [FACING | INDIVIDUAL] [DOCUMENT document | CHAPTER document:... | WINDOW document-window])
ARexx: Applescript: | |
Tim Doty wrote... | 2006-08-09 19:00:27 |
Note, the return value is meaningless for this command (unlike say NewDocument which returns the actual document name). Check for .error to see if there was a problem. | |
User Contributed Comments For NewMasterPage | sign in to add a comment |
<< NewIndexXRef | NewStyleTag >> |
Top: Documentation Library | Up: N Commands |