Specifications

Table Of Contents
Adobe Photoshop CS6
JavaScript Scripting Reference JavaScript Object Reference 82
ContactSheetOptions
Options for creating a contact sheet with the Application.makeContactSheet() method.
Properties
Property Value type What it is
acrossFirst
boolean
Read-write. True to place the images horizontally
(left to right, then top to bottom) first (default:
true).
bestFit
boolean
Read-write. True to rotate images for the best fit
(default:
false).
caption
boolean
Read-write. True to use the filename as a caption for
the image (default:
true).
columnCount
number[1..100]
Read-write. The number of columns to include
(default:
5).
flatten
boolean
Read-write. True 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
Read-write. The font size to use for the caption
(default:
12).
height
number [0..29000]
Read-write. The height (in pixels) of the resulting
document (default:
720).
horizontal
number
Read-write. The horizontal spacing (in pixels)
between images (default:
1).
mode
NewDocumentMode
Read-write. The document color mode (default:
NewDocumentMode.RGB).
resolution
number [35..1200]
Read-write. The resolution of the document in pixels
per inch (default:
72.0).
rowCount
number [1..100]
Read-write. The number of rows to use (default: 6).
typename
string
Read-only. The class name of the referenced
contactSheetOptions object.
useAutoSpacing
boolean
Read-write. True to auto space the images (default:
true).
vertical
number [0..29000]
Read-write. The vertical spacing (in pixels) between
images (default:
1).
Valid only when
useAutoSpacing = false.
width
number [100..29000]
Read-write. The width (in pixels) of the resulting
document (default:
576).