DocumentPreset

The new document preset to use for creating a new document.

Constants/Events

Name

Type

Access

Description

artboardLayout

DocumentArtboardLayout

DocumentArtboardLayout.Column

DocumentArtboardLayout.GridByCol

DocumentArtboardLayout.GridByRow

DocumentArtboardLayout.RLGridByCol

DocumentArtboardLayout.RLGridByRow

DocumentArtboardLayout.RLRow

DocumentArtboardLayout.Row

readonly

Layout for artboards.

artboardRowsOrCols

Int32

readonly

Number of rows (for rows layout) OR column(for column layouts)of artboards.Range is 1 to (docNumArtboards - 1) or 1 for single row or column layouts.

artboardSpacing

Number

readonly

Spacing between artboards.

colorMode

DocumentColorSpace

DocumentColorSpace.CMYK

DocumentColorSpace.RGB

readonly

The color mode for the new document.

documentBleedLink

Boolean

readonly

Document link for bleed values.

documentBleedOffset

Rect

readonly

Document bleed offset rect.

height

Number

readonly

The height for the new document.

numArtboards

Int32

readonly

Number of artboards for new document.Range (1:100).

previewMode

DocumentPreviewMode

DocumentPreviewMode.DefaultPreview

DocumentPreviewMode.OverprintPreview

DocumentPreviewMode.PixelPreview

readonly

The preview mode for the new document.

rasterResolution

DocumentRasterResolution

DocumentRasterResolution.HighResolution

DocumentRasterResolution.MediumResolution

DocumentRasterResolution.ScreenResolution

readonly

The raster resolution for the new document.

title

String

readonly

The title for the new document.

transparencyGrid

DocumentTransparencyGrid

DocumentTransparencyGrid.TransparencyGridBlue

DocumentTransparencyGrid.TransparencyGridDark

DocumentTransparencyGrid.TransparencyGridGreen

DocumentTransparencyGrid.TransparencyGridLight

DocumentTransparencyGrid.TransparencyGridMedium

DocumentTransparencyGrid.TransparencyGridNone

DocumentTransparencyGrid.TransparencyGridOrange

DocumentTransparencyGrid.TransparencyGridPurple

DocumentTransparencyGrid.TransparencyGridRed

readonly

The transparency grid for the new document.

units

RulerUnits

RulerUnits.Centimeters

RulerUnits.Inches

RulerUnits.Millimeters

RulerUnits.Picas

RulerUnits.Pixels

RulerUnits.Points

RulerUnits.Qs

RulerUnits.Unknown

readonly

The units for the new document.

width

Number

readonly

The width for the new document.

Return

Application.getPresetSettings()