Datasets - Adobe 26001360 - Illustrator CS - PC Manual

Scripting guide
Hide thumbs Also See for 26001360 - Illustrator CS - PC:
Table of Contents

Advertisement

Adobe Illustrator CS Scripting Guide

DataSets

A collection of DataSets.
Table 5.21 DataSets — Properties
Property
Application
Count
Parent
Table 5.22 DataSets — Methods
Method
Add()
Index(item As DataSets)
Item(itemKey)
RemoveAll()
Example 10.1
' Variables and Datasets
'
' Create two variables (visibility and text)
' Create two datasets with different values
' Display both datasets
'
Dim appRef As New Illustrator.Application
Dim docRef As Illustrator.Document
Set docRef = appRef.Documents.Add()
' Create 2 variables, Visibility and Text
' Create a visibility variable
Dim itemRef As Illustrator.pathItem
Set itemRef = docRef.PathItems.Rectangle(600, 200, 150, 150)
Dim colorRef As New RGBColor
colorRef.Red = 255
itemRef.FillColor = colorRef
Dim visibilityVar As Illustrator.Variable
Set visibilityVar = docRef.Variables.Add()
R/O
Value type
R/O
Application object
R/O
Long
R/O
Document object
Returns
DataSet object
Long
DataSet object
Nothing
12 Aug 03
What it is
The Illustrator Application object
The number of datasets in the collection
The name of the object that is this
DataSet object's parent
What it does
Creates a new DataSet
Returns the index position of the object
within the collection
Returns an object reference to the object
identified by itemKey; by name or index
Deletes all objects in this collection
311

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents