Adobe 23101335 Scripting Guide - Page 47
Unit values based on type ruler setting, AppleScript, Visual Basic, JavaScript, Object, Properties
![]() |
UPC - 718659152833
View all Adobe 23101335 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 47 highlights
Scripting Photoshop 3 Working with units TABLE 3.2 Object Text Item Object Properties AppleScript Properties Visual Basic Properties JavaScript Properties baseline shift* first line indent* height hyphenation zone* leading* left indent* position right indent* space before* space after* width BaselineShift* FirstLineIndent* Height HyphenationZone* Leading* LeftIndent* Position RightIndent* SpaceBefore* SpaceAfter* Width baselineShift* firstLineIndent* height hyphenationZone* leading* leftIndent* position rightIndent* spaceBefore* spaceAfter* width * Unit values based on type ruler setting TABLE 3.3 Command Parameters AppleScript Visual Basic crop (bounds, height, width) Document.Crop (Bounds, Height, Width) resize canvas (height, width) Document.ResizeCanvas (Height, Width) resize image (height, width) Document.ResizeImage (Height, Width) contract (by) Selection.Contract (By) expand (by) feather (by) select border (width) Selection.Expand (By) Selection.Feather (By) Selection.SelectBorder (Width) translate (delta x, delta y) Selection.Translate (DeltaX, DeltaY) JavaScript document.crop (bounds, height, width) document.resizeCanvas (height, width) document.resizeImage (height, width) selection.contract (by) selection.expand (by) selection.feather (by) selection.selectBorder (width) selection.translate (deltaX, deltaY) Photoshop 7.0 Scripting Guide 47
![](/manual_guide/products/adobe-23101335-scripting-guide-ce635ed/47.png)