<< GetTextLinkDisplay | GetTextPath >> |
Top: Documentation Library | Up: G Commands |
GetTextObj Object Query Command
GETTEXTOBJ Object Queries
Gets coordinates and information for a frameless text object.
gettextobj [POSITION stem] [ROTATION stem] [ABOUT stem] [CONSTRAIN string] [PRINT string] [DOCUMENT name | WINDOW name | OBJECTID number]
POSITION/a Gets the coordinates.
ROTATION/a Gets the rotation.
ABOUT/a Gets the rotation point.
CONSTRAIN/s Gets the proportional scale flag state.
PRINT/s Gets the print flag state.
DOCUMENT/s The document name. Default=current.
WINDOW/s The window name. Default=current.
OBJECTID/i The object number. Default=current.
Results:
The object ID is returned to RESULT.
POSITION stem
left/d The left coordinate.
top/d The top coordinate.
right/d The right coordinate.
bottom/d The bottom coordinate.
ROTATION stem
mode/k The rotation point: POINT | CENTER.
slant/d The slant angle.
twist/d The twist angle.
ABOUT stem
x/d The point's horizontal coordinate.
y/d The point's vertical coordinate.
CONSTRAIN string/k The constrain flag: ON | OFF.
PRINT string/k The print flag: ON | OFF.
Examples:
gettextobj position coord say 'Left: '||coord.left say 'Top: '||coord.top say 'Right: '||coord.right say 'Bottom: '||coord.bottom
GetTextObj Command Definition url:PGScmd/gettextobj
created:2006-03-30 22:20:08 last updated:2006-03-30 22:20:08
Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.
User Contributed Comments For GetTextObj | sign in to add a comment |
Dan Kilroy wrote... | 2006-05-04 16:59:14 |
Script command submitted from PageStream internal documentation. Needs to be checked and merged with the command documentation above. Gets the {...} . objectid = GetTextObj ([POSITION &coord/.LEFT.TOP.RIGHT.BOTTOM] [ROTATION &rotation/.SLANT.TWIST] [ABOUT &mode/.MODE<POINT|CENTER>.X.Y] [CONSTRAIN &flag<ON|OFF>] [PRINT &flag<ON|OFF>] [TEXTFX &type<NONE | BETWEEN | ALONG | WARP>] [DISTORTX &flag<TRUE|FALSE>] [BENDLINES &flag<TRUE|FALSE>] [SCALETOFIT &flag<TRUE|FALSE>] [DOCUMENT document | WINDOW document-window | OBJECTID objectid])
ARexx: Applescript: | |
User Contributed Comments For GetTextObj | sign in to add a comment |
<< GetTextLinkDisplay | GetTextPath >> |
Top: Documentation Library | Up: G Commands |