app.activeDocument.patterns[index
Description
An Illustrator pattern definition contained in a document.
Patterns are shown in the Swatches palette.
Each pattern is referenced by a jsobjref/PatternColor
object, which defines the pattern’s appearance.
app.activeDocument.patterns[index].name
Description
The pattern name.
Type
String
app.activeDocument.patterns[index].parent
Description
The document that contains this pattern.
Type
jsobjref/Document
, read-only.
app.activeDocument.patterns[index].typename
Description
The class name of the object.
Type
String, read-only.
app.activeDocument.patterns[index].remove()
Description
Removes the referenced pattern from the document.
Returns
Nothing.
app.activeDocument.patterns[index].toString()
Description
Returns the object type of a referenced object. If the object has a name, also returns the name.
Returns
String