DocumentPreset
DocumentPreset
Section titled “DocumentPreset”documentPreset
Description
Section titled “Description”A preset document template to use when creating a new document. See Documents.addDocument().
Properties
Section titled “Properties”DocumentPreset.artboardLayout
Section titled “DocumentPreset.artboardLayout”documentPreset.artboardLayout
Description
Section titled “Description”The layout of artboards in the new document.
Default: GridByRow
.
DocumentPreset.artboardRowsOrCols
Section titled “DocumentPreset.artboardRowsOrCols”documentPreset.artboardRowsOrCols
Description
Section titled “Description”The number of rows (for rows layout) or columns (for column layout) of artboards.
Range: 1 to (numArtboards
- 1) or 1 for single row or column layouts.
Default: 1
Number (long).
DocumentPreset.artboardSpacing
Section titled “DocumentPreset.artboardSpacing”documentPreset.artboardSpacing
Description
Section titled “Description”The spacing between artboards in the new document.
Default: 20.0
Number (double).
DocumentPreset.colorMode
Section titled “DocumentPreset.colorMode”documentPreset.colorMode
Description
Section titled “Description”The color space for the new document.
DocumentPreset.documentBleedLink
Section titled “DocumentPreset.documentBleedLink”documentPreset.documentBleedLink
Description
Section titled “Description”The document link for bleed values.
Boolean.
DocumentPreset.documentBleedOffsetRect
Section titled “DocumentPreset.documentBleedOffsetRect”documentPreset.documentBleedOffsetRect
Description
Section titled “Description”The document bleed offset rectangle.
Rectangle.
DocumentPreset.height
Section titled “DocumentPreset.height”documentPreset.height
Description
Section titled “Description”The height in document points.
Default: 792.0
Number (double).
DocumentPreset.numArtboards
Section titled “DocumentPreset.numArtboards”documentPreset.numArtboards
Description
Section titled “Description”The number of artboards for the new document.
Range: 1 to 100.
Default: 1.
Number (long).
DocumentPreset.previewMode
Section titled “DocumentPreset.previewMode”documentPreset.previewMode
Description
Section titled “Description”The preview mode for the new document.
DocumentPreset.rasterResolution
Section titled “DocumentPreset.rasterResolution”documentPreset.rasterResolution
Description
Section titled “Description”The raster resolution for the new document.
DocumentPreset.title
Section titled “DocumentPreset.title”documentPreset.title
Description
Section titled “Description”The document title.
String.
DocumentPreset.transparencyGrid
Section titled “DocumentPreset.transparencyGrid”documentPreset.transparencyGrid
Description
Section titled “Description”The transparency grid color for the new document.
DocumentPreset.typename
Section titled “DocumentPreset.typename”documentPreset.typename
Description
Section titled “Description”The class name of the referenced object.
String; read-only.
DocumentPreset.units
Section titled “DocumentPreset.units”documentPreset.units
Description
Section titled “Description”The ruler units for the new document.
DocumentPreset.width
Section titled “DocumentPreset.width”documentPreset.width
Description
Section titled “Description”The width in document points.
Default: 612.0
Number (double).