Adobe Illustrator · Schema
ExportOptions
ExportOptions from Adobe Illustrator API
Creative CloudDesignIllustratorVector Graphics
Properties
| Name | Type | Description |
|---|---|---|
| filePath | string | File path for the exported file. |
| format | string | Export format. |
| artboardRange | string | Range of artboards to export (e.g., "1-3" or "1,3,5"). Empty string exports all artboards. |
| horizontalScale | number | Horizontal scaling factor as a percentage. |
| verticalScale | number | Vertical scaling factor as a percentage. |
| resolution | number | Export resolution in PPI. |
| antiAliasing | boolean | Whether to use anti-aliasing. |
| transparency | boolean | Whether to preserve transparency. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/adobe-illustrator/refs/heads/main/json-schema/adobe-illustrator-scripting-export-options-schema.json",
"title": "ExportOptions",
"description": "ExportOptions from Adobe Illustrator API",
"type": "object",
"properties": {
"filePath": {
"type": "string",
"description": "File path for the exported file.",
"example": "/path/to/file.ai"
},
"format": {
"type": "string",
"description": "Export format.",
"enum": [
"PNG8",
"PNG24",
"JPEG",
"SVG",
"PDF",
"TIFF",
"GIF",
"AutoCAD",
"Flash",
"Photoshop"
],
"example": "PNG8"
},
"artboardRange": {
"type": "string",
"description": "Range of artboards to export (e.g., \"1-3\" or \"1,3,5\"). Empty string exports all artboards.",
"default": "",
"example": "example_value"
},
"horizontalScale": {
"type": "number",
"description": "Horizontal scaling factor as a percentage.",
"default": 100,
"example": 72.0
},
"verticalScale": {
"type": "number",
"description": "Vertical scaling factor as a percentage.",
"default": 100,
"example": 72.0
},
"resolution": {
"type": "number",
"description": "Export resolution in PPI.",
"default": 72,
"example": 72.0
},
"antiAliasing": {
"type": "boolean",
"description": "Whether to use anti-aliasing.",
"default": true,
"example": true
},
"transparency": {
"type": "boolean",
"description": "Whether to preserve transparency.",
"default": true,
"example": true
}
},
"required": [
"filePath",
"format"
]
}