Adobe Illustrator · JSON Structure

Adobe Illustrator Scripting Preferences Structure

Preferences from Adobe Illustrator API

Type: object Properties: 3
Creative CloudDesignIllustratorVector Graphics

Preferences is a JSON Structure definition published by Adobe Illustrator, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

rulerUnits generalPreferences typePreferences

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adobe-illustrator/refs/heads/main/json-structure/adobe-illustrator-scripting-preferences-structure.json",
  "name": "Preferences",
  "description": "Preferences from Adobe Illustrator API",
  "type": "object",
  "properties": {
    "rulerUnits": {
      "type": "string",
      "description": "Default ruler units.",
      "enum": [
        "Points",
        "Picas",
        "Inches",
        "Millimeters",
        "Centimeters",
        "Pixels"
      ],
      "example": "Points"
    },
    "generalPreferences": {
      "type": "object",
      "properties": {
        "keyboardIncrement": {
          "type": "double",
          "description": "Keyboard increment value."
        },
        "constrainAngle": {
          "type": "double",
          "description": "Constrain angle in degrees."
        },
        "useAreaSelect": {
          "type": "boolean",
          "description": "Whether to use area select."
        }
      }
    },
    "typePreferences": {
      "type": "object",
      "properties": {
        "showHiddenCharacters": {
          "type": "boolean",
          "description": "Whether to show hidden characters."
        },
        "useSmartQuotes": {
          "type": "boolean",
          "description": "Whether to use smart quotes."
        }
      }
    }
  }
}