Skip to content

ILST DocumentPreset fields #137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 18 additions & 13 deletions Illustrator/2022/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3778,7 +3778,7 @@ declare class Documents extends Array<Document> {
* @param presetSettings Custom settings to apply to the preset.
* @param showOptionsDialog If false, do not show Options dialog.
*/
static addDocument(
addDocument(
startupPreset: string,
presetSettings?: DocumentPreset,
showOptionsDialog?: boolean,
Expand Down Expand Up @@ -7064,62 +7064,67 @@ declare class DocumentPreset {
/**
* Layout for artboards.
*/
static artboardLayout: DocumentArtboardLayout
artboardLayout: DocumentArtboardLayout

/**
* 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 artboardRowsOrCols: number
artboardRowsOrCols: number

/**
* Spacing between artboards.
*/
static artboardSpacing: number
artboardSpacing: number

/**
* The color mode for the new document.
*/
static colorMode: DocumentColorSpace
colorMode: DocumentColorSpace

/**
* The height for the new document.
*/
static height: number
height: number

/**
* Number of artboards for new document.Range (1:100).
*/
static numArtboards: number
numArtboards: number

/**
* The preview mode for the new document.
*/
static previewMode: DocumentPreviewMode
previewMode: DocumentPreviewMode

/**
* The raster resolution for the new document.
*/
static rasterResolution: DocumentRasterResolution
rasterResolution: DocumentRasterResolution

/**
* The title for the new document.
*/
static title: string
title: string

/**
* The transparency grid for the new document.
*/
static transparencyGrid: DocumentTransparencyGrid
transparencyGrid: DocumentTransparencyGrid

/**
* Read-only. The class name of the referenced object.
*/
readonly typename: string

/**
* The units for the new document.
*/
static units: RulerUnits
units: RulerUnits

/**
* The width for the new document.
*/
static width: number
width: number
}

/**
Expand Down