Scripting Constants¶
This chapter lists and describes the enumerations defined for use with Illustrator JavaScript properties and methods.
AlternateGlyphsForm¶
The alternate glyphs form of text.
Value |
Description |
---|---|
|
Defaultform |
|
Traditional |
|
Expert |
|
JIS78FORM |
|
JIS83FORM |
|
Half Width |
|
Third Width |
|
Quarter Width |
|
Full Width |
|
Proportional Width |
|
JIS90FORM |
|
JIS04FORM |
Example
textRef.textRange.characters[i].characterAttributes.alternateGlyphs == AlternateGlyphsForm.DEFAULTFORM;
textRef.textRange.characters[i].characterAttributes.alternateGlyphs == AlternateGlyphsForm.FULLWIDTH
AntiAliasingMethod¶
The type of antialiasing method used in the rasterization.
Value |
Description |
---|---|
|
No antialiasing is allowed. |
|
Optimize for the art object. |
|
Optimize for the type object. |
ArtClippingOption¶
How the art should be clipped during output.
Value |
Description |
---|---|
|
Output size is the size of the artwork. |
|
Output size is the size of the artboard. |
|
Output size is the size of the crop area. |
AutoCADColors¶
Value |
Description |
---|---|
|
Max 8 CColors |
|
Max 16 Colors |
|
Max 25 6Colors |
|
True Colors |
AutoCADCompatibility¶
Value |
Description |
---|---|
|
Release 13 |
|
Release 18 |
|
Release 14 |
|
Release 21 |
|
Release 15 |
|
Release 24 |
AutoCADExportFileFormat¶
Value |
Description |
---|---|
|
DXF |
|
DWG |
AutoCADExportOption¶
Value |
Description |
---|---|
|
Preserve Appearance |
|
Maximize Editability |
AutoCADGlobalScaleOption¶
Value |
Description |
---|---|
|
Original Size |
|
Scale by Value |
|
Fit Artboard |
AutoCADRasterFormat¶
Value |
Description |
---|---|
|
PNG |
|
JPEG |
AutoCADUnit¶
Value |
Description |
---|---|
|
Points |
|
Picas |
|
Inches |
|
Millimeters |
|
Centimeters |
|
Pixels |
AutoKernType¶
The auto kern type.
Value |
Description |
---|---|
|
None |
|
Auto |
|
Optical |
|
Metrics |
AutoLeadingType¶
The auto leading type.
Value |
Description |
---|---|
|
Bottom to Bottom |
|
Top to Top |
BaselineDirectionType¶
The baseline direction type.
Value |
Description |
---|---|
|
Standard |
|
Vertical Rotated |
|
TateChuYoko |
BlendAnimationType¶
Value |
Description |
---|---|
|
In Build |
|
None |
|
In Sequence |
BlendModes¶
The blend mode used when compositing an object.
Value |
Description |
---|---|
|
Color |
|
Color Burn |
|
Color Dodge |
|
Darken |
|
Difference |
|
Exclusion |
|
Hard Light |
|
Hue |
|
Lighten |
|
Luminosity |
|
Multiply |
|
Normal |
|
Overlay |
|
Saturation |
|
Screen |
|
Soft Light |
BlendsExpandPolicy¶
Policy used by FXG file format to expand blends.
Value |
Description |
---|---|
|
Automatically convert blends |
|
Rasterize blends |
BurasagariTypeEnum¶
The Burasagari type.
Value |
Description |
---|---|
|
Forced |
|
None |
|
Standard |
CaseChangeType¶
The case change type.
Value |
Description |
---|---|
|
Lowercase ( |
|
Sentence case ( |
|
Title case ( |
|
Uppercase ( |
ColorConversion¶
The color conversion policy.
Value |
Description |
---|---|
|
Color Conversion Repurpose |
|
Color Conversion to Dest |
|
None |
ColorConvertPurpose¶
The purpose of color conversion using the ConvertSampleColor
method of the Application
class.
Value |
Description |
---|---|
|
Default |
|
Export |
|
Preview |
|
Dummy |
ColorDestination¶
Destination profile
Value |
Description |
---|---|
|
Doc CMYK |
|
Doc RGB |
|
Profile |
|
Working CMYK |
|
Working RGB |
|
None |
ColorDitherMethod¶
The method used to dither colors in exported GIF and PNG8 images.
Value |
Description |
---|---|
|
Diffusion |
|
Noise |
|
No Reduction |
|
Pattern Dither |
ColorModel¶
The color model to use.
Value |
Description |
---|---|
|
Process |
|
Registration |
|
Spot |
ColorProfile¶
Value |
Description |
---|---|
|
Include All Profile |
|
Include Dest Profile |
|
Include RGB Profile |
|
Leave Profile Unchanged |
|
None |
ColorReductionMethod¶
The method used to reduce the number of colors in exported GIF and PNG8 images.
Value |
Description |
---|---|
|
Adaptive |
|
Selective |
|
Perceptual |
|
Web |
ColorType¶
The color specification for an individual color.
Value |
Description |
---|---|
|
Cmyk |
|
Gradient |
|
Gray |
|
Pattern |
|
Rgb |
|
Spot |
|
None |
Compatibility¶
The version of the Illustrator file to create when saving an EPS or Illustrator file
Value |
Description |
---|---|
|
Illustrator 8 |
|
Illustrator 9 |
|
Illustrator 10 |
|
Illustrator 11 |
|
Illustrator 12 |
|
Illustrator 13 |
|
Illustrator 14 |
|
Illustrator 15 |
|
Illustrator 16 |
|
Illustrator 17 |
|
Illustrator 19 |
|
Japanese Version 3 |
CompressionQuality¶
The quality of bitmap compression used when saving a PDF file
Value |
Description |
---|---|
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
CoordinateSystem¶
The coordinate system used by Illustrator
Value |
Description |
---|---|
|
todo |
|
todo |
CropOptions¶
The style of a document’s cropping box
Value |
Description |
---|---|
|
Japanese |
|
Standard |
DocumentArtboardLayout¶
The layout of in the new document.
Value |
Description |
---|---|
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
DocumentColorSpace¶
The color space of a document
Value |
Description |
---|---|
|
CMYK |
|
RGB |
DocumentLayoutStyle¶
Layout style for the document
Value |
Description |
---|---|
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
DocumentPresetType¶
The preset types available for new documents.
Value |
Description |
---|---|
|
Basic CMYK |
|
Basic RGB |
|
Mobile |
|
|
|
Video |
|
Web |
DocumentPreviewMode¶
The document preview mode.
Value |
Description |
---|---|
|
Default |
|
Overprint |
|
Pixel |
DocumentRasterResolution¶
The preset document raster resolution.
Value |
Description |
---|---|
|
Screen Resolution |
|
High Resolution |
|
Medium Resolution |
DocumentTransparencyGrid¶
Document transparency grid colors.
Value |
Description |
---|---|
|
Blue |
|
Dark |
|
Green |
|
Light |
|
Medium |
|
None |
|
Orange |
|
Purple |
|
Red |
DocumentType¶
The file format used to save a file.
Value |
Description |
---|---|
|
EPS |
|
FXG |
|
Illustrator |
|
DownsampleMethod¶
Value |
Description |
---|---|
|
Average Downsample |
|
Bicubic Downsample |
|
No Downsample |
|
Subsample |
ElementPlacement¶
Value |
Description |
---|---|
|
Inside |
|
Place After |
|
Place At Beginning |
|
Place At End |
|
Place Before |
EPSPostScriptLevelEnum¶
Value |
Description |
---|---|
|
Level 2 |
|
Level 3 |
EPSPreview¶
The preview image format used when saving an EPS file
Value |
Description |
---|---|
|
todo |
|
todo |
|
todo |
|
todo |
ExportType¶
The file format used to export a file
Value |
Description |
---|---|
|
AutoCAD |
|
FLASH |
|
GIF |
|
JPEG |
|
Photoshop |
|
PNG24 |
|
PNG8 |
|
SVG |
|
TIFF |
FigureStyleType¶
Value |
Description |
---|---|
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
FiltersPreservePolicy¶
The filters preserve policy used by the FXG file format.
Value |
Description |
---|---|
|
todo |
|
todo |
|
todo |
FlashExportStyle¶
The method used to convert Illustrator images when exporting files
Value |
Description |
---|---|
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
FlashExportVersion¶
Version for exported SWF file.
Value |
Description |
---|---|
|
Version 1 |
|
Version 2 |
|
Version 3 |
|
Version 4 |
|
Version 5 |
|
Version 6 |
|
Version 7 |
|
Version 8 |
|
Version 9 |
FlashImageFormat¶
The format used to store flash images.
Value |
Description |
---|---|
|
Lossless |
|
Lossy |
FlashJPEGMethod¶
The method used to store JPEG images.
Value |
Description |
---|---|
|
Optimized |
|
Standard |
FlashPlaybackSecurity¶
Value |
Description |
---|---|
|
Local |
|
Network |
FontBaselineOption¶
Value |
Description |
---|---|
|
todo |
|
todo |
|
todo |
FontCapsOption¶
Value |
Description |
---|---|
|
All Caps |
|
All Smallcaps |
|
Normal Caps |
|
Small Caps |
FontOpenTypePositionOption¶
Value |
Description |
---|---|
|
Denominator |
|
Numerator |
|
Opentype Default |
|
Opentype Subscript |
|
Opentype Superscript |
FontSubstitutionPolicy¶
Value |
Description |
---|---|
|
Device |
|
Oblique |
|
Tint |
FXGVersion¶
The FXG file-format version.
Value |
Description |
---|---|
|
Version 1 PT0 |
|
Version 2 PT0 |
GradientsPreservePolicy¶
The gradients preserve policy used by the FXG file format.
Value |
Description |
---|---|
|
Automaticaly Convert Gradients |
|
Keep Gradients Editable |
GradientType¶
The type of gradient.
Value |
Description |
---|---|
|
Linear |
|
Radial |
ImageColorSpace¶
The color space of a raster item or an exported file
Value |
Description |
---|---|
|
CMYK |
|
DeviceN |
|
Grayscale |
|
Indexed |
|
LAB |
|
RGB |
|
Separation |
InkPrintStatus¶
Value |
Description |
---|---|
|
Convert Ink |
|
Enable Ink |
|
Disable Ink |
InkType¶
Value |
Description |
---|---|
|
Black Ink |
|
Custom Ink |
|
Cyan Ink |
|
Magenta Ink |
|
Yellow Ink |
JavaScriptExecutionMode¶
Value |
Description |
---|---|
|
Before Running |
|
On Runtime Error |
|
Never |
Justification¶
The alignment or justification for a paragraph of text.
Value |
Description |
---|---|
|
Center |
|
Full Justify |
|
Full Justify Last Line Center |
|
Full Justify Last Line Left |
|
Full Justify Last Line Right |
|
Left |
|
Right |
KinsokuOrderEnum¶
Value |
Description |
---|---|
|
todo |
|
todo |
|
todo |
KnockoutState¶
The type of knockout to use on a page item.
Value |
Description |
---|---|
|
Disabled |
|
Enabled |
|
Inherited |
|
Unknown |
LanguageType¶
Value |
Description |
---|---|
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
LayerOrderType¶
Value |
Description |
---|---|
|
Top Down |
|
Bottom Up |
LibraryType¶
Illustrator library type.
Value |
Description |
---|---|
|
Brushes |
|
Graphic Styles |
|
Illustrator Artwork |
|
Swatches |
|
Symbols |
MonochromeCompression¶
The type of compression to use on a monochrome bitmap item when saving a PDF file.
Value |
Description |
---|---|
|
CCIT3 |
|
CCIT4 |
|
MONOZIP |
|
None |
|
RUNLENGTH |
OutputFlattening¶
How transparency should be flattened when saving EPS and Illustrator file formats with compatibility set to versions of Illustrator earlier than Illustrator 10
Value |
Description |
---|---|
|
Preserve Appearance |
|
Preserve Paths |
PageMarksTypes¶
Value |
Description |
---|---|
|
Japanese |
|
Roman |
PathPointSelection¶
Which points, if any, of a path are selected.
Value |
Description |
---|---|
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
PDFBoxType¶
Value |
Description |
---|---|
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
PDFChangesAllowedEnum¶
Value |
Description |
---|---|
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
|
todo |
PDFCompatibility¶
The version of the Acrobat file format to create when saving a PDF file
Value |
Description |
---|---|
|
Acrobat 4 |
|
Acrobat 5 |
|
Acrobat 6 |
|
Acrobat 7 |
|
Acrobat 8 |
PDFOverprint¶
Value |
Description |
---|---|
|
Discard Pdf Overprint |
|
Preserve Pdf Overprint |
PDFPrintAllowedEnum¶
Value |
Description |
---|---|
|
128 High Resolution |
|
128 Low Resolution |
|
128 None |
|
40 High Resolution |
|
40 None |
PDFTrimMarkWeight¶
Value |
Description |
---|---|
|
Weight 0125 |
|
Weight 025 |
|
Weight 05 |
PDFXStandard¶
Value |
Description |
---|---|
|
PDFX1A2001 |
|
PDFX1A2003 |
|
PDFX32002 |
|
PDFX32003 |
|
PDFX42007 |
|
PDFXNONE |
PerspectiveGridType¶
Value |
Description |
---|---|
|
One Point Perspective Grid Type |
|
Two Point Perspective Grid Type |
|
Three Point Perspective Grid Type |
|
Invalid Perspective Grid Type |
PerspectiveGridPlaneType¶
Value |
Description |
---|---|
|
Grid Left Plane Type |
|
Grid Right Plane Type |
|
Grid Floor Plane Type |
|
Invalid Grid Plane Type |
PhotoshopCompatibility¶
Value |
Description |
---|---|
|
Photoshop 6 |
|
Photoshop 8 |
PointType¶
The type of path point selected
Value |
Description |
---|---|
|
Corner |
|
Smooth |
PolarityValues¶
Value |
Description |
---|---|
|
Negative |
|
Positive |
PostScriptImageCompressionType¶
Value |
Description |
---|---|
|
todo |
|
todo |
|
todo |
PrintArtworkDesignation¶
Value |
Description |
---|---|
|
All Layers |
|
Visible Layers |
|
Visible Printable Layers |
PrintColorIntent¶
Value |
Description |
---|---|
|
todo |
|
todo |
|
todo |
|
todo |
PrintColorProfile¶
Value |
Description |
---|---|
|
Custom Profile |
|
Printer Profile |
|
Oldstyle Profile |
|
Source Profile |
PrintColorSeparationMode¶
Value |
Description |
---|---|
|
Composite |
|
Host-Based Separation |
|
Inrip Separation |
PrinterColorMode¶
Value |
Description |
---|---|
|
Black & White |
|
Color |
|
Grayscale |
PrinterPostScriptLevelEnum¶
Value |
Description |
---|---|
|
PS LEVEL 1 |
|
PS LEVEL 2 |
|
PS LEVEL 3 |
PrinterTypeEnum¶
Value |
Description |
---|---|
|
Non Postscript Printer |
|
Postscript Printer |
|
Unknown |
PrintFontDownloadMode¶
Value |
Description |
---|---|
|
Download None |
|
Download Complete |
|
Download Subset |
PrintingBounds¶
Value |
Description |
---|---|
|
Artboard Bounds |
|
Artwork Bounds |
PrintOrientation¶
The artwork printing orientation.
Value |
Description |
---|---|
|
Auto Rotate |
|
Landscape |
|
Portrait |
|
Reverse Landscape |
|
Reverse Portrait |
PrintPosition¶
Value |
Description |
---|---|
|
Translate Bottom |
|
Translate Bottom Left |
|
Translate Bottom Right |
|
Translate Center |
|
Translate Left |
|
Translate Right |
|
Translate Top |
|
Translate Top Left |
|
Translate Top Right |
PrintTiling¶
Value |
Description |
---|---|
|
Full Pages |
|
Single Full Page |
|
Imageable Areas |
RasterizationColorModel¶
The color model for the rasterization.
Value |
Description |
---|---|
|
Bitmap |
|
Default Color Model |
|
Grayscale |
RasterLinkState¶
The status of a raster item’s linked image if the image is stored externally
Value |
Description |
---|---|
|
Data From File |
|
Data Modified |
|
No Data |
RulerUnits¶
The default measurement units for the rulers of a document
Value |
Description |
---|---|
|
Centimeters |
|
Qs |
|
Inches |
|
Pixels |
|
Millimeters |
|
Unknown |
|
Picas |
|
Points |
SaveOptions¶
Save options provided when closing a document.
Value |
Description |
---|---|
|
Do Not Save Changes |
|
Save Changes |
|
Prompt To Save Changes |
ScreenMode¶
The mode of display for a view.
Value |
Description |
---|---|
|
Desktop |
|
Multi Window |
|
Fullscreen |
SpotColorKind¶
The custom color kind of a spot color.
Value |
Description |
---|---|
|
CMYK |
|
LAB |
|
RGB |
StrokeCap¶
The type of line capping for a path stroke.
Value |
Description |
---|---|
|
Butt |
|
Round |
|
Projecting |
StrokeJoin¶
The type of joints for a path stroke.
Value |
Description |
---|---|
|
Bevel |
|
Round |
|
Miter |
StyleRunAlignmentType¶
Value |
Description |
---|---|
|
Bottom |
|
ICF Top |
|
Center |
|
Roman Baseline |
|
ICF Bottom |
|
Top |
SVGCSSPropertyLocation¶
How should the CSS properties of the document be included in an exported SVG file
Value |
Description |
---|---|
|
Entities |
|
Style Attributes |
|
Presentation Attributes |
|
Style Elements |
SVGDocumentEncoding¶
How should the text in the document be encoded when exporting an SVG file
Value |
Description |
---|---|
|
ASCII |
|
UTF8 |
|
UTF16 |
SVGDTDVersion¶
SVG version compatibility for exported files
Value |
Description |
---|---|
|
SVG1_0 |
|
SVG1_1 |
|
SVGBASIC1_1 |
|
SVGTINY1_1 |
|
SVGTINY1_1PLUS |
|
SVGTINY1_2 |
SVGFontSubsetting¶
What font glyphs should be included in exported SVG files
Value |
Description |
---|---|
|
All Glyphs |
|
Glyphs Used Plus English |
|
Common English |
|
Glyphs Used Plus Roman |
|
Common Roman |
|
Glyphs Used |
|
None |
SVGFontType¶
Types for fonts included in exported SVG files
Value |
Description |
---|---|
|
CEF Font |
|
SVG Font |
|
Outline Font |
SymbolRegistrationPoint¶
Registration points for symbols.
Value |
Description |
---|---|
|
Bottom Left Point |
|
Bottom Middle Point |
|
Bottom Right Point |
|
Center Point |
|
Middle Left Point |
|
Middle Right Point |
|
Top Left Point |
|
Top Middle Point |
|
Top Right Point |
TabStopAlignment¶
The alignment of a tab stop.
Value |
Description |
---|---|
|
Center |
|
Decimal |
|
Left |
|
Right |
TextAntialias¶
The type of text anti-aliasing in a text art item.
Value |
Description |
---|---|
|
Crisp |
|
None |
|
Sharp |
|
Strong |
TextOrientation¶
The orientation of text in a text art item.
Value |
Description |
---|---|
|
Horizontal |
|
Vertical |
TextPreservePolicy¶
The text-preserve policy used by the FXG file format.
Value |
Description |
---|---|
|
Automatically Convert Text |
|
Outline Text |
|
Keep Text Editable |
|
Rasterize Text |
TextType¶
The type of text art displayed by this object.
Value |
Description |
---|---|
|
Area Text |
|
Point Text |
|
Path Text |
TIFFByteOrder¶
The byte order to use for an exported TIFF file.
Value |
Description |
---|---|
|
IBM PC |
|
Macintosh |
TracingModeType¶
Value |
Description |
---|---|
|
Black & White |
|
Color |
|
Gray |
Transformation¶
The point to use as the anchor point about which an object is rotated, resized, or transformed.
Value |
Description |
---|---|
|
Bottom |
|
Bottom Left |
|
Bottom Right |
|
Center |
|
Document Origin |
|
Left |
|
Right |
|
Top |
|
Top Left |
|
Top Right |
TrappingType¶
Value |
Description |
---|---|
|
todo |
|
todo |
|
todo |
|
todo |
UserInteractionLevel¶
User interface settings
Value |
Description |
---|---|
|
Display Alerts |
|
Don’t Display Alerts |
VariableKind¶
What type of variables are included in the document.
Value |
Description |
---|---|
|
Graph |
|
Image |
|
Visibility |
|
Textual |
|
Unknown |
ViewRasterType¶
The raster visualization mode for tracing.
Value |
Description |
---|---|
|
Adjusted Image |
|
No Image |
|
Original Image |
|
Transparent Image |
ViewVectorType¶
The vector visualization mode for tracing.
Value |
Description |
---|---|
|
No Tracing Result |
|
Outlines |
|
Outlines With Tracing |
|
Tracing Result |
WariChuJustificationType¶
Value |
Description |
---|---|
|
Center |
|
Left |
|
Right |
|
Warichu Auto Justify |
|
Warichu Full Justify |
|
Warichu Full Justify Last Line Center |
|
Warichu Full Justify Last Line Left |
|
Warichu Full Justify Last Line Right |
ZOrderMethod¶
The method used to arrange an art item’s position in the stacking order of its parent group or layer, as specified with the zOrder method
Value |
Description |
---|---|
|
Bring Forward |
|
Send Backward |
|
Bring To Front |
|
Send To Back |