<< DrawLine | DrawPolygon >> |
Top: Documentation Library | Up: D Commands |
DrawPicture Drawing Command
Places a picture frame.
drawpicture <left top right bottom> [CONTENTOFFSET offsetx offsety] [CONTENTSCALE scalex scaley] [ROTATE angle | SKEW slantangle twistangle | SLANT angle | TWIST angle] [ABOUT pointx pointy | ABOUTCENTER] [constraint] [printable] [stack] [DPI xdpi ydpi] [frame] [stored] [FILE filepath] [PAGE number | MPG name/S | DOCUMENT name | WINDOW name]
[FPO {DEFAULT|FINE|MEDIUM|COARSE|CUSTOM xdpi ydpi}]
left.../d The coordinates of the frame.
CONTENTOFFSET/d The offset in the frame. Default=0,0.
CONTENTSCALE/d The scale of the object in the frame. Default=100%.
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.
frame/k Specifies whether the object is framed.
Options: FRAMED|FRAMELESS.
stored/k Specifies if the object is internal.
Options: EXTERNAL|INTERNAL (default).
FILE/s The filepath and name of the image.
DPI/i The resolution of the picture. Default=actual.
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:
DrawPicture Command Definition url:PGScmd/drawpicture
created:2006-03-30 13:47:47 last updated:2006-08-18 11:49:05
Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.
User Contributed Comments For DrawPicture | sign in to add a comment |
Dan Kilroy wrote... | 2006-05-03 20:00:15 |
Script command submitted from PageStream internal documentation. Needs to be checked and merged with the command documentation above. Draws a picture frame {...} . objectid = DrawPicture (left top right bottom [DPI xdpi ydpi] [INTERNAL | EXTERNAL] [FILE file] PGS40: [FPO {DEFAULT|FINE|MEDIUM|COARSE|CUSTOM xdpi ydpi}] [FRAMELESS | FRAMED] [CONTENTOFFSET x y] [CONTENTSCALE x y] [CONTENTROTATE rotation | CONTENTSKEW slant twist] [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])
ARexx: Applescript: | |
User Contributed Comments For DrawPicture | sign in to add a comment |
<< DrawLine | DrawPolygon >> |
Top: Documentation Library | Up: D Commands |