Adobe 23101764 Scripting Guide - Page 64

Unit value useage

Page 64 highlights

Scripting Photoshop 3 Working with units 3.6.2 Unit value useage The following two tables list the properties of the classes and parameters of commands that are defined to use unit values. Unit values for these properties and parameter, with the exception of some text item properties, are based the graphics ruler setting. TABLE 3.2 Object Properties Object AppleScript Properties Visual Basic Properties JavaScript Properties Document height width Height Width height width EPS open options height width Height Width height width PDF open options height width Height Width height width lens flare open options height width Height Width height width offset filter horizontal offset vertical offset HorizontalOffset VerticalOffset horizontalOffset verticalOffset Text Item 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 Photoshop CS Scripting Guide 60

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105

Photoshop CS Scripting Guide
60
Scripting Photoshop
Working with units
3
3.6.2
Unit value useage
The following two tables list the properties of the classes and parameters of commands that are
de
ned to use unit values. Unit values for these properties and parameter, with the exception
of some text item properties, are based the graphics ruler setting.
T
ABLE
3.2
Object Properties
Object
AppleScript
Properties
Visual Basic
Properties
JavaScript
Properties
Document
height
width
Height
Width
height
width
EPS open options
height
width
Height
Width
height
width
PDF open options
height
width
Height
Width
height
width
lens
are open
options
height
width
Height
Width
height
width
offset
lter
horizontal offset
vertical offset
HorizontalOffset
VerticalOffset
horizontalOffset
verticalOffset
Text Item
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*
rstLineIndent*
height
hyphenationZone*
leading*
leftIndent*
position
rightIndent*
spaceBefore*
spaceAfter*
width