OpenOptions

Options which may be supplied when opening a file.

Constants/Events

Name

Type

Access

Description

addToRecentFiles

Boolean

readonly

Add this file to the list of recently opened files.

convertCropAreaToArtboard

Boolean

readonly

Convert crop area to Artboard when opening legacy document (pre-Illustrator CS4) in CS4 or later. If false then crop areas are discarded.

convertTilesToArtboard

Boolean

readonly

Convert print tiles to Artboard when opening legacy document (pre-Illustrator CS4) in CS4 or later.

createArtboardWithArtworkBoundingBox

Boolean

readonly

Create Artboard with dimentions of artwork bounding box when opening legacy document (pre-Illustrator CS4) in CS4 or later.

openAs

LibraryType

LibraryType.BRUSHES

LibraryType.GRAPHICSTYLES

LibraryType.ILLUSTRATORARTWORK

LibraryType.SWATCHES

LibraryType.SYMBOLS

readonly

Open the file as library.

preserveLegacyArtboard

Boolean

readonly

Preserve Legacy Artboard (pre-Illustrator CS4) when opening in CS4 or later.

updateLegacyGradientMesh

Boolean

readonly

Choose to preserve the spot colors in the gradient mesh objects for legacy documents (pre-Illustrator CS3)

updateLegacyText

Boolean

readonly

Choose to update all text objects for documents saved with legacy texts (pre-Illustrator 11)