DrawColumn Drawing Command

Draws a new text column frame with one or more columns in it.

drawcolumn <left top right bottom> [COLUMNS number] [GUTTER space] [ROTATE angle | SKEW slantangle twistangle | SLANT angle | TWIST angle] [ABOUT pointx pointy | ABOUTCENTER] [constraint] [printable] [stack] [PAGE number | MPG name/S | DOCUMENT name | WINDOW name]

left.../d The coordinates of the frame.

COLUMNS/i The number of columns in a text frame.

GUTTER/d The space between columns.

ROTATE/d The rotation angle. Default=0.

SKEW/d The slant and twist angle. Default=0.

SLANT/d The slant angle. Default=0.

TWIST/d The twist angle. Default=0.

ABOUT/d The rotation point.

ABOUTCENTER Rotates around its center. Default.

constraint/k The aspect ratio constraint toggle.

Options: CONSTRAIN|FREE (default).

printable/k The print object toggle.

Options: PRINT (default)|NOPRINT.

stack/k The stack position.

Options: INFRONT (default)|INBACK.

PAGE/s The page number. Default=current.

MPG/s The master page name and side. Default=current.

DOCUMENT/s The document name. Default=current.

WINDOW/s The window name. Default=current.


The identification number (handle) of the new object is returned to RESULT.


Use the drawcolumn command to draw a single column on one page and to draw a fixed size column. Use the createcolumns command to draw columns on more than one page, and to draw columns relative to the page size.


drawcolumn 1 1 7.5 10 columns 2 gutter 0.25
drawcolumn 1 1 5 6 rotate 45 inback page 'MyDoc~8'


DrawColumn  Command Definition  url:PGScmd/drawcolumn
  created:2006-03-30 13:47:47   last updated:2006-08-18 11:42:32
  Copyright © 1985-2023 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For DrawColumn
Dan Kilroy wrote...2006-05-03 14:55:17

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

objectid = DrawColumn (left top right bottom [NOTE] [COLUMNS columncount] [GUTTER columngutter] [ROTATE rotation | SKEW slant twist | SLANT slant | TWIST twist] [ABOUT x y | ABOUTCENTER] [INFRONT | INBACK] [CONSTRAIN | FREE] [PRINT | NOPRINT] [PAGE document:...-pagenum | MPG document:...-masterpage:side | DOCUMENT document | WINDOW document-window])




See Also:




User Contributed Comments For DrawColumn