Adobe 26001360 - Illustrator CS - PC Manual page 432

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

Advertisement

432
Table 5.130 RasterItem — 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
You can create RasterItems a script if you use an external file. You can also create new
RasterItems by copying and pasting an existing RasterItem.
Note that it is not necessary to set the type of the ContentVariable before binding.
Example 70.1
This example illustrates how to create a new RasterItem in the frontmost document. The
script assumes that you have a file called "c:\temp\sample.jpg".
Dim appRef As New Illustrator.Application
Dim newRasterArt As Illustrator.RasterItem
Set newRasterArt = appRef.ActiveDocument.RasterItems.Add
newRasterArt.File = "C:\temp\sample.jpg"
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
Visual Basic Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents