Home
Adobe Illustrator
Adobe Illustrator Scripting Text Frame Create Structure
Adobe Illustrator Scripting Text Frame Create Structure
TextFrameCreate from Adobe Illustrator API
Type: object
Properties: 10
Required: 2
Creative Cloud Design Illustrator Vector Graphics
TextFrameCreate is a JSON Structure definition published by Adobe Illustrator, describing 10 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
Properties
name
kind
contents
position
width
height
orientation
characterAttributes
paragraphAttributes
layer
Meta-schema: https://json-structure.org/meta/core/v0/#
JSON Structure
{
"$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-text-frame-create-structure.json",
"name": "TextFrameCreate",
"description": "TextFrameCreate from Adobe Illustrator API",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the text frame.",
"example": "Example Artboard"
},
"kind": {
"type": "string",
"description": "Type of text frame to create.",
"enum": [
"PointText",
"AreaText",
"PathText"
],
"default": "PointText",
"example": "PointText"
},
"contents": {
"type": "string",
"description": "The text content.",
"example": "example_value"
},
"position": {
"type": "array",
"description": "Position [x, y] in points.",
"items": {
"type": "double"
},
"minItems": 2,
"maxItems": 2
},
"width": {
"type": "double",
"description": "Width for area text frames.",
"example": 72.0
},
"height": {
"type": "double",
"description": "Height for area text frames.",
"example": 72.0
},
"orientation": {
"type": "string",
"description": "Text orientation.",
"enum": [
"Horizontal",
"Vertical"
],
"default": "Horizontal",
"example": "Horizontal"
},
"characterAttributes": {
"$ref": "#/components/schemas/CharacterAttributes"
},
"paragraphAttributes": {
"$ref": "#/components/schemas/ParagraphAttributes"
},
"layer": {
"type": "string",
"description": "Target layer name.",
"example": "example_value"
}
},
"required": [
"contents",
"position"
]
}