Illustrator29
Collection of Document

Documents

A collection of documents.

Properties

NameType AccessDescription
Int readonly Number of elements in the collection.
The readonly The object's container.
String readonly The class name of the object.

Methods

Document

A document.

documentColorSpace? DocumentColorSpace The color model used for the document.
width? Number Width of the artboard.
height? Number Height of the artboard.
numArtboards? Int32 Number of artboards for new document.Range (1:100).
artboardLayout? DocumentArtboardLayout Layout of artboards for new document.
artboardSpacing? Number Spacing between artboards for new document.
artboardRowsOrCols? Int32 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.
Document

Create a new document from a preset.

startupPreset String The name of a startup document preset.
presetSettings? DocumentPreset Custom settings to apply to the preset.
showOptionsDialog? Boolean If false, do not show Options dialog.
Document

Create a document from the preset with option to throw dialog to customize present settings.

startupPreset String The name of startup document preset.
showOptionsDialog? Boolean Argument controls if options Dialog is shown or not.
Boolean

Arranges the documents in the specified style.

layoutStyle DocumentLayoutStyle The document layout style.
Document

Get the first element in the collection with the provided name.

name String

Object of 1

Properties elsewhere that hold a Documents.