Adobe Photoshop CS3
JavaScript Scripting Reference
JavaScript Object Reference 94
paste
([intoSelection])
boolean
ArtLayer
Pastes the contents of the
clipboard into the
document. If the optional
argument is set to
true
and
a selection is active, the
contents are pasted into the
selection.
([postScriptEncoding]
[, sourceSpace]
[, printSpace]
[, intent]
[blackPointCompensation])
PrintEncoding
SourceSpaceType
string
Intent
boolean
Prints the document.
Note:
printSpace
specifies
the color space for
the printer. Valid
values are
nothing
(that is, the same as
the source); or
Working RGB
,
Working CMYK
,
Working Gray
,
Lab
Color
(
meaning one
of the working color
spaces or Lab color);
or a string specifying
a specific colorspace
(default:
nothing
).
rasterizeAllLayers
()
Rasterizes all layers.
recordMeasurements
([source]
[, dataPoints])
MeasurementSource
array of strings
Record measurements of
document.
resizeCanvas
([width]
[, height]
[, anchor])
UnitValue
UnitValue
AnchorPosition
Changes the size of the
canvas to display more or
less of the image but does
not change the image size.
See
resizeImage
.
Note:
For information
about the
UnitValue
object, see the
JavaScript Tools Guide
resizeImage
([width]
[, height]
[, resolution]
[, resampleMethod])
UnitValue
UnitValue
number (double)
ResampleMethod
Changes the size of the
image.
Note:
For information
about the
UnitValue
object, see the
JavaScript Tools Guide
Method
Parameter Type
Returns
What it does (Continued)