
Adobe Photoshop CS3
JavaScript Scripting Reference
JavaScript Object Reference 155
PicturePackageOptions
Options that can be specified for a Picture Package.
Properties
Property
Value type
What it is
content
PicturePackageTextType
Read-write. The content information (default:
PicturePackageTextType.NONE
).
flatten
boolean
Read-write. Indicates whether all layers in the
final document are flattened (default:
true
).
font
GalleryFontType
Read-write. The font used for security text
(default:
GalleryFontType.ARIAL
).
fontSize
number (long)
Read-write. The font size used for security
text (default:
12
).
layout
string
Read-write. The layout to use to generate the
picture package (default:
“(2)5x7”
).
mode
NewDocumentMode
Read-write. Read-write. The color profile to
use as the document mode
(default:
NewDocumentMode.RGB
).
opacity
number (long)
Read-write. The web page security opacity as
a percent (default:
100
).
resolution
number (double)
Read-write. The resolution of the document
in pixels per inch (default:
72.0
).
text
string
Read-write. The picture package custom text.
Note:
Valid only when
content =
PicturePackageType.USER
. See
content
.
textColor
RGBColor
Read-write. The color to use for security text.
textPosition
GallerySecurityTextPositionType
Read-write. The security text position
(default:
GallerySecurityTextPositionType.
CENTERED
).
textRotate
GallerySecurityTextRotateType
Read-write. The orientation to use for
security text (default:
GallerySecurityTextRotateType.ZERO
).
typename
string
Read-only. The class name of the referenced
PicturePackageOptions
object.