
Adobe Photoshop CS3
JavaScript Scripting Reference
JavaScript Object Reference 82
ContactSheetOptions
Options that can be specified for a contact sheet.
Properties
Property
Value Type
What it is
acrossFirst
boolean
Read-write. Indicates whether to place the images
horizontally (left to right, then top to bottom) first
(default:
true
).
bestFit
boolean
Read-write. Indicates whether to rotate images for
the best fit (default:
false
).
caption
boolean
Read-write. Indicates whether to use the filename as
a caption for the image (default:
true
).
columnCount
number (long)
Read-write. The number of columns to include
(1 - 100; default:
5
).
flatten
boolean
Read-write. Indicates whether to flatten all layers in
the final document (default:
true
).
font
GalleryFontType
Read-write. The font used for the caption (default:
GalleryFontType.ARIAL
).
fontSize
number (long)
Read-write. The font size to use for the caption
(default:
12
).
height
number (long)
Read-write. The height (in pixels) of the resulting
document (100 - 2900; default:
720
).
horizontal
number (long)
Read-write. The horizontal spacing (in pixels)
between images (0 - 29000; default:
1
).
mode
NewDocumentMode
Read-write. The document color mode (default:
NewDocumentMode.RGB
).
resolution
number (double)
Read-write. The resolution of the document in pixels
per inch (35 - 1200; default:
72.0
).
rowCount
number (long)
Read-write. The number of rows to use (1 - 100;
default:
6
).
typename
string
Read-only. The class name of the referenced
contactSheetOptions
object.
useAutoSpacing
boolean
Read-write. Indicates whether to auto space the
images (default:
true
).