Adobe Illustrator CS4 Type Library JS: DocumentPreset

Illustrator CS4

Class

DocumentPreset

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

Class

PropertyTypeAccessDescription
artboardLayoutDocumentArtboardLayout:
DocumentArtboardLayout.GridByRow
DocumentArtboardLayout.GridByCol
DocumentArtboardLayout.Row
DocumentArtboardLayout.Column
DocumentArtboardLayout.RLGridByRow
DocumentArtboardLayout.RLGridByCol
DocumentArtboardLayout.RLRow
r/wLayout for artboards. (default: DocumentArtboardLayout.GridByRow)
artboardRowsOrColsint r/wNumber 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. (default: 1)
artboardSpacingnumber r/wSpacing between artboards. (default: 20.0)
colorModeDocumentColorSpace:
DocumentColorSpace.RGB
DocumentColorSpace.CMYK
r/wThe color mode for the new document. (default: DocumentColorSpace.CMYK)
heightnumber r/wThe height for the new document. (default: 792.0)
numArtboardsint r/wNumber of artboards for new document.Range (1:100). (default: 1)
previewModeDocumentPreviewMode:
DocumentPreviewMode.DefaultPreview
DocumentPreviewMode.PixelPreview
DocumentPreviewMode.OverprintPreview
r/wThe preview mode for the new document. (default: DocumentPreviewMode.DefaultPreview)
rasterResolutionDocumentRasterResolution:
DocumentRasterResolution.ScreenResolution
DocumentRasterResolution.MediumResolution
DocumentRasterResolution.HighResolution
r/wThe raster resolution for the new document. (default: DocumentRasterResolution.ScreenResolution)
titlestring r/wThe title for the new document. (default: Untitled)
transparencyGridDocumentTransparencyGrid:
DocumentTransparencyGrid.TransparencyGridNone
DocumentTransparencyGrid.TransparencyGridLight
DocumentTransparencyGrid.TransparencyGridMedium
DocumentTransparencyGrid.TransparencyGridDark
DocumentTransparencyGrid.TransparencyGridRed
DocumentTransparencyGrid.TransparencyGridOrange
DocumentTransparencyGrid.TransparencyGridGreen
DocumentTransparencyGrid.TransparencyGridBlue
DocumentTransparencyGrid.TransparencyGridPurple
r/wThe transparency grid for the new document. (default: DocumentTransparencyGrid.TransparencyGridNone)
unitsRulerUnits:
RulerUnits.Unknown
RulerUnits.Inches
RulerUnits.Centimeters
RulerUnits.Points
RulerUnits.Picas
RulerUnits.Millimeters
RulerUnits.Qs
RulerUnits.Pixels
r/wThe units for the new document. (default: RulerUnits.Points)
widthnumber r/wThe width for the new document. (default: 612.0)

Used in:

Document Documents.addDocument (startupPreset: string, presetSettings: DocumentPreset)

Return

DocumentPreset Application.getPresetSettings (preset: string)

Jongware, 27-Jun-2010 v3.0.3dContents :: Index