Adobe 26001360 Scripting Guide - Page 437
Spot
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 437 highlights
Adobe Illustrator CS Scripting Guide 437 Dim textRef As Illustrator.TextFrame Set docRef = appRef.Documents.Add() Set textRef = docRef.TextFrames.Add() textRef.Top = 600 textRef.Left = 50 textRef.Contents = "ScreenSpotFunctions for 1st PPD:" & vbCrLf ' Get the first PPD Dim ppdRef As Illustrator.PPDFile Set ppdRef = appRef.PPDFileList(1) Dim sInfo As String sInfo = ppdRef.Name & vbCrLf ' Get info on the all ScreenSpot info from the 1st PPD Dim screenSpot For Each screenSpot In ppdRef.PPDInfo.ScreenSpotFunctionList sInfo = sInfo + screenSpot.Name & ": " sInfo = sInfo + screenSpot.SpotFunction & vbCrLf sInfo = sInfo & vbCrLf Next screenSpot textRef.Contents = textRef.Contents + sInfo appRef.Redraw Spot A spot color definition contained in the Illustrator document. Table 5.137 Spot - Properties Property R/O Value type What it is Application Color Name Parent R/O Application object The Illustrator Application object Color object The color information for this spot color String The spot color's name R/O Document object The document that contains this spot color Table 5.138 Spot - Methods Method Returns Delete() Nothing 12 Aug 03 What it does Delete the object