Illustrator29
Object

DocumentPreset

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

Properties

NameType AccessDescription
static DocumentArtboardLayout = DocumentArtboardLayout.GridByRow
read/write Layout for artboards.
static Int32 = 1 read/write 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.
static Number = 20.0 read/write Spacing between artboards.
static DocumentColorSpace = DocumentColorSpace.CMYK
read/write The color mode for the new document.
static Rect read/write Document bleed offset rect.
static Number = 792.0 read/write The height for the new document.
static Int32 = 1 read/write Number of artboards for new document.Range (1:100).
static DocumentPreviewMode = DocumentPreviewMode.DefaultPreview
read/write The preview mode for the new document.
static DocumentRasterResolution = DocumentRasterResolution.ScreenResolution
read/write The raster resolution for the new document.
static String = Untitled read/write The title for the new document.
static DocumentTransparencyGrid = DocumentTransparencyGrid.TransparencyGridNone
read/write The transparency grid for the new document.
static RulerUnits = RulerUnits.Points
read/write The units for the new document.
static Number = 612.0 read/write The width for the new document.

Parameter of 1

Method parameters that accept a DocumentPreset.

Return 1

Methods that return a DocumentPreset.