Screen - Adobe 26001360 - Illustrator CS - PC Manual

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

Advertisement

Adobe Illustrator CS Scripting Guide

Screen

Screen contains all information about the screen to be used for printing.
Table 5.134 Screen — Properties
Property
R/O
R/O
Application
Name
ScreenInfo
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
Value type
Application object
String
ScreenInfo object
12 Aug 03
What it is
Application to which the collection belongs
The color separation screen
The color separation screen information
435

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents