Adobe 26001360 Scripting Guide - Page 411
PPDFileInfo
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 411 highlights
Adobe Illustrator CS Scripting Guide 411 PPDFileInfo Information about the PPD file. Table 5.115 PPDFileInfo - Properties Property R/O Value type Application R/O AiApplication object File LanguageLevel ScreenList ScreenSpotFunctionList String String Variant Variant What it is Application that the collection belongs to Path specification for the PPD file The PostScript language level List of color separation screens List of color separation screen spot functions Example 58.1 ' PPD ' ' Create a document and add a TextFrame for each available ' PPD. Use the textFrame to display PPD info ' Dim appRef As New Illustrator.Application Dim docRef As Illustrator.Document Dim sPPD As String Dim x As Integer Dim y As Integer Set docRef = appRef.Documents.Add() x = 30 y = docRef.Height - 30 Dim ppd For Each ppd In appRef.PPDFileList ' get data for each PPD sPPD = ppd.Name & vbCrLf sPPD = sPPD & vbTab & "PS Level " sPPD = sPPD & ppd.PPDInfo.LanguageLevel & vbCrLf sPPD = sPPD & vbTab & "Path: " sPPD = sPPD & ppd.PPDInfo.File & vbCrLf ' display data with a textFrame Dim textRef As Illustrator.TextFrame Set textRef = docRef.TextFrames.Add() textRef.TextRange.CharacterAttributes.Size = 8 textRef.Contents = sPPD textRef.Top = y 12 Aug 03