Adobe 26001360 Scripting Guide - Page 303
CMYKColor, Table 5.14, CMYKColor - Properties
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 303 highlights
Adobe Illustrator CS Scripting Guide 303 Dim charStyle As Illustrator.CharacterStyle Set charStyle = docRef.CharacterStyles.Add("BigRed") ' Create a red color Dim colorRed As New Illustrator.RGBColor colorRed.Red = 255 ' Set character attributes of the new style With charStyle.CharacterAttributes .Size = 40 .Tracking = -50 .Capitalization = aiNormalCaps .FillColor = colorRed End With ' apply styel to each textFrame in the document charStyle.ApplyTo textRef1.TextRange charStyle.ApplyTo textRef2.TextRange charStyle.ApplyTo textRef3.TextRange CMYKColor A CMYK color specification. Table 5.14 CMYKColor - Properties Property R/O Value type What it is Application Black Cyan Magenta Yellow R/O Application object The Illustrator Application object Double The black color value as a value in the range 0.0-100.0 Double The cyan color value as a value in the range 0.0-100.0 Double The magenta color value as a value in the range 0.0-100.0 Double The yellow color value as a value in the range 0.0-100.0 Notes If the DocumentColorSpace of a document is aiDocumentRGBColor and you specify the color value for a PageItem in that document using CMYKColor, Illustrator will translate the 12 Aug 03