Adobe 26001360 Scripting Guide - Page 435
Screen, Table 5.134, Screen - Properties
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 435 highlights
Adobe Illustrator CS Scripting Guide 435 Screen Screen contains all information about the screen to be used for printing. Table 5.134 Screen - Properties Property R/O Value type Application Name ScreenInfo R/O Application object String ScreenInfo object What it is Application to which the collection belongs The color separation screen The color separation screen information Example 73.1 ' Screen ' ' Display screen info available for ' the first PPD ojbect ' ' Create a new document and add a TextFrame Dim appRef As New Illustrator.Application Dim docRef As Illustrator.Document Dim textRef As Illustrator.TextFrame Set docRef = appRef.Documents.Add() Set textRef = docRef.TextFrames.Add() textRef.Top = 600 textRef.Left = 50 textRef.Contents = "Screen Objects for 1st PPD File: " & 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 screens from the 1st PPD Dim screenRef For Each screenRef In ppdRef.PPDInfo.ScreenList sInfo = sInfo & screenRef.Name & vbCrLf sInfo = sInfo & vbTab & "Angle = " sInfo = sInfo & CStr(screenRef.ScreenInfo.Angle) & vbCrLf sInfo = sInfo & vbTab & "Frequency = " sInfo = sInfo & screenRef.ScreenInfo.Frequency & vbCrLf Next screenRef textRef.Contents = textRef.Contents & sInfo appRef.Redraw 12 Aug 03