DrawTextObj Drawing Command

Starts a new text block.

drawtextobj <left top> [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 top left corner of the text block.

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.

Results:

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

Examples:
ARexx:

drawtextobj 1 1 drawtextobj 1 1 rotate 45 inback page 'project.doc~8'

 

DrawTextObj  Command Definition  url:PGScmd/drawtextobj
  created:2006-03-30 13:47:47   last updated:2006-08-18 11:51:24
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For DrawTextObj
Dan Kilroy wrote...2006-05-04 16:58:54

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

Gets the {...} .

objectid = DrawTextObj (left top [POINTISBASELINE] [ROTATE rotation | SKEW slant twist | SLANT slant | TWIST twist] [ABOUT x y | ABOUTCENTER] [INFRONT | INBACK] [CONSTRAIN | FREE] [PRINT | NOPRINT] [TEXTFX <NONE | BETWEEN | ALONG | WARP> ] [DISTORTX <TRUE|FALSE>] [BENDLINES <TRUE|FALSE>] [SCALETOFIT <TRUE | FALSE>] [PAGE document:...-pagenum | MPG document:...-masterpage:side | DOCUMENT document | WINDOW document-window])

Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For DrawTextObj