Compoundpathitem - Adobe 26001360 - Illustrator CS - PC Manual

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

Advertisement

304
CMYK color specification into a RGB color specification. The same thing happens if the
document's DocumentColorSpace is aiDocumentCMYKColor and you specify colors
using RGBColor. Since this translation can cause information loss you should specify colors
using the class that matches the document's DocumentColorSpace.
Example 7.1
Dim appRef As New Illustrator.Application
Dim frontPath As Illustrator.PathItem
Dim newCMYKColor As New Illustrator.CMYKColor
'Get a reference to the frontmost path in the document
Set frontPath = appRef.ActiveDocument.PathItems(1)
'Set color values for the CMYK objects
'Then wrap the color in a standard color object
newCMYKColor.Black = 0
newCMYKColor.Cyan = 30.4
newCMYKColor.Magenta = 32
newCMYKColor.Yellow = 0
frontPath.Filled = True
frontPath.fillColor = newCMYKColor

CompoundPathItem

A compound path. Compound paths are objects composed of multiple intersecting paths,
resulting in transparent interior spaces where the original paths overlapped.
Table 5.15 CompoundPathItem — Properties
Property
Application
ArtworkKnockout
BlendingMode
ControlBounds
Editable
R/O
Value type
R/O
Application object
AiKnockoutState
AiBlendModes
R/O
Variant Array (of 4
Doubles)
R/O
Boolean
12 Aug 03
Visual Basic Reference
What it is
The Illustrator Application object
Is this object used to create a knockout? If
so, what kind of knockout?
The mode used when compositing an
object
The bounds of the object including stroke
width and controls
If true, the CompoundPathItem is
editable

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents