Pdffileoptions - 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

PDFFileOptions

Class of the PDFFileOptions property of the Preferences class.
Table 5.103 PDFFileOptions — Properties
Property
Application
PageToOpen
Parent
PDFCropToBox
Notes
Properties of this class are accessed through the Application object's Preferences property, and
their values used when opening .PDF documents.
Example 53.1
' PDFFileOptions
'
' Open a multi-page PDF file to a specific
' page using the PDFFileOptions object
'
' This sample assumes the "C:\temp\Multipage.pdf" exists
'
Dim appRef As New Illustrator.Application
Dim docRef As Illustrator.Document
appRef.UserInteractionLevel = aiDontDisplayAlerts
With appRef.Preferences.PDFFileOptions
.PageToOpen = 2
.PDFCropToBox = aiPDFBoundingBox
End With
Set docRef = appRef.Open("C:\temp\MultiPage.pdf", aiDocumentRGBColor)
R/O
Value type
R/O
Application
Long
R/O
Object
AiPDFBoxType
enumeration
12 Aug 03
What it is
Application to which the collection
belongs
Specifies which page should be used
when opening a multipage document
(default: 1)
The object's container
Specifies which box should be used when
placing a multipage document (default:
AiPDFMediaBox)
397

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents