Adobe 26001360 - Illustrator CS - PC Manual page 409

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

Advertisement

Adobe Illustrator CS Scripting Guide
Table 5.111 PluginItem — Methods (Continued)
Method
Transform(
transformationMatrix As Matrix,
[changePositions As Boolean],
[changeFillPatterns As Boolean],
[changeFillGradients As Boolean],
[changeStrokePattern As Boolean],
[changeLineWidths As Double],
[transformAbout As AiTransformation])
Translate(
[deltaX As Double],
[deltaY As Double],
[transformObjects As Boolean],
[transformFillPatterns As Boolean],
[transformFillGradients As Boolean],
[transformStrokePatterns As Boolean])
ZOrder(
zOrderCmd As AiZOrderMethod)
Notes
Plug-in items cannot be created from a script, but can be copied and pasted.
Example 57.1
This example demonstrates how to create a new PluginItem by copying an existing PluginItem.
Dim appRef As New Illustrator.Application
Dim frontDocument As Illustrator.Document
Dim pluginArt As Illustrator.PluginItem
Set frontDocument = appRef.ActiveDocument
If (frontDocument.PluginItems.Count > 0) Then
Set pluginArt = frontDocument.PluginItems(1)
pluginArt.Copy
frontDocument.Paste
Else
MsgBox "There is no plug-in art in the front document"
Returns
What it does
Nothing
Transforms the art object by applying a
transformation matrix
Nothing
Repositions the art object relative to the
current position, where deltaX is the
horizontal offset and deltaY is the
vertical offset
Nothing
Arranges the art object's position in the
stacking order of the group or layer
(Parent) of this object
12 Aug 03
409

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents