Adobe Illustrator · Schema
DocumentCreate
DocumentCreate from Adobe Illustrator API
Creative CloudDesignIllustratorVector Graphics
Properties
| Name | Type | Description |
|---|---|---|
| name | string | Name of the new document. |
| documentColorSpace | string | Color mode of the document. |
| width | number | Document width in points. |
| height | number | Document height in points. |
| numArtboards | integer | Number of artboards to create. |
| artboardLayout | string | Layout for multiple artboards. |
| rasterResolution | string | Raster effects resolution. |
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-document-create-schema.json",
"title": "DocumentCreate",
"description": "DocumentCreate from Adobe Illustrator API",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the new document.",
"example": "Example Artboard"
},
"documentColorSpace": {
"type": "string",
"description": "Color mode of the document.",
"enum": [
"CMYK",
"RGB"
],
"default": "RGB",
"example": "CMYK"
},
"width": {
"type": "number",
"description": "Document width in points.",
"default": 612,
"example": 72.0
},
"height": {
"type": "number",
"description": "Document height in points.",
"default": 792,
"example": 72.0
},
"numArtboards": {
"type": "integer",
"description": "Number of artboards to create.",
"default": 1,
"example": 1024
},
"artboardLayout": {
"type": "string",
"description": "Layout for multiple artboards.",
"enum": [
"GridByRow",
"GridByCol",
"Row",
"Column",
"RLGridByRow",
"RLGridByCol",
"RLRow"
],
"example": "GridByRow"
},
"rasterResolution": {
"type": "string",
"description": "Raster effects resolution.",
"enum": [
"ScreenResolution",
"MediumResolution",
"HighResolution"
],
"default": "HighResolution",
"example": "ScreenResolution"
}
}
}