DocumentPreset

documentPreset

Description

A preset document template to use when creating a new document. See Documents.addDocument().


Properties

DocumentPreset.artboardLayout

documentPreset.artboardLayout

Description

The layout of artboards in the new document. Default: GridByRow.

Type

DocumentArtboardLayout


DocumentPreset.artboardRowsOrCols

documentPreset.artboardRowsOrCols

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

Type

Number (long).


DocumentPreset.artboardSpacing

documentPreset.artboardSpacing

Description

The spacing between artboards in the new document. Default: 20.0

Type

Number (double).


DocumentPreset.colorMode

documentPreset.colorMode

Description

The color space for the new document.

Type

DocumentColorSpace


DocumentPreset.documentBleedOffsetRect

documentPreset.documentBleedOffsetRect

Description

The document bleed offset rectangle.

Type

Rectangle.


DocumentPreset.height

documentPreset.height

Description

The height in document points. Default: 792.0

Type

Number (double).


DocumentPreset.numArtboards

documentPreset.numArtboards

Description

The number of artboards for the new document. Range: 1 to 100. Default: 1.

Type

Number (long).


DocumentPreset.previewMode

documentPreset.previewMode

Description

The preview mode for the new document.

Type

DocumentPreviewMode


DocumentPreset.rasterResolution

documentPreset.rasterResolution

Description

The raster resolution for the new document.

Type

DocumentRasterResolution


DocumentPreset.title

documentPreset.title

Description

The document title.

Type

String.


DocumentPreset.transparencyGrid

documentPreset.transparencyGrid

Description

The transparency grid color for the new document.

Type

DocumentTransparencyGrid


DocumentPreset.typename

documentPreset.typename

Description

The class name of the referenced object.

Type

String, read-only.


DocumentPreset.units

documentPreset.units

Description

The ruler units for the new document.

Type

RulerUnits


DocumentPreset.width

documentPreset.width

Description

The width in document points. Default: 612.0

Type

Number (double).