Class
The new document preset to use for creating a new document.
DocumentPreset
Class
Property | Type | Access | Description |
---|---|---|---|
artboardLayout | DocumentArtboardLayout: DocumentArtboardLayout.GridByRow DocumentArtboardLayout.GridByCol DocumentArtboardLayout.Row DocumentArtboardLayout.Column DocumentArtboardLayout.RLGridByRow DocumentArtboardLayout.RLGridByCol DocumentArtboardLayout.RLRow |
r/w | Layout for artboards. (default: DocumentArtboardLayout.GridByRow) |
artboardRowsOrCols | Int32 | r/w | 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. (default: 1) |
artboardSpacing | number | r/w | Spacing between artboards. (default: 20.0) |
colorMode | DocumentColorSpace: DocumentColorSpace.RGB DocumentColorSpace.CMYK |
r/w | The color mode for the new document. (default: DocumentColorSpace.CMYK) |
height | number | r/w | The height for the new document. (default: 792.0) |
numArtboards | Int32 | r/w | Number of artboards for new document.Range (1:100). (default: 1) |
previewMode | DocumentPreviewMode: DocumentPreviewMode.DefaultPreview DocumentPreviewMode.PixelPreview DocumentPreviewMode.OverprintPreview |
r/w | The preview mode for the new document. (default: DocumentPreviewMode.DefaultPreview) |
rasterResolution | DocumentRasterResolution: DocumentRasterResolution.ScreenResolution DocumentRasterResolution.MediumResolution DocumentRasterResolution.HighResolution |
r/w | The raster resolution for the new document. (default: DocumentRasterResolution.ScreenResolution) |
title | string | r/w | The title for the new document. (default: Untitled) |
transparencyGrid | DocumentTransparencyGrid: DocumentTransparencyGrid.TransparencyGridNone DocumentTransparencyGrid.TransparencyGridLight DocumentTransparencyGrid.TransparencyGridMedium DocumentTransparencyGrid.TransparencyGridDark DocumentTransparencyGrid.TransparencyGridRed DocumentTransparencyGrid.TransparencyGridOrange DocumentTransparencyGrid.TransparencyGridGreen DocumentTransparencyGrid.TransparencyGridBlue DocumentTransparencyGrid.TransparencyGridPurple |
r/w | The transparency grid for the new document. (default: DocumentTransparencyGrid.TransparencyGridNone) |
units | RulerUnits: RulerUnits.Unknown RulerUnits.Inches RulerUnits.Centimeters RulerUnits.Points RulerUnits.Picas RulerUnits.Millimeters RulerUnits.Qs RulerUnits.Pixels |
r/w | The units for the new document. (default: RulerUnits.Points) |
width | number | r/w | The width for the new document. (default: 612.0) |
Used in:
Document Documents.addDocument (startupPreset: string, presetSettings: DocumentPreset)
Return
DocumentPreset Application.getPresetSettings (preset: string)
Jongware, 25-Nov-2012 v3.0.3i | Contents :: Index |