Acrobat Interapplication Communication > Interapplication Communication API Reference > OLE Automation > AcroExch.PDDoc

AcroExch.PDDoc
The underlying PDF representation of a document. This is a creatable interface. There is a correspondence between a PDDoc object and an ASFile object (an opaque representation of an open file made available through an interface encapsulating Acrobat’s access to file services), and the PDDoc object is the hidden object behind every AVDoc object. An ASFile object may have zero or more underlying files, so a PDF file does not always correspond to a single disk file. For example, an ASFile object may provide access to PDF data in a database.
Through PDDoc objects, your application can perform most of the Document menu items from Acrobat (delete pages, replace pages, and so on), create and delete thumbnails, and set and retrieve document information fields.
Methods
The PDDoc object has the following methods.
 
AcquirePage
ClearFlags
Close
Create
Creates a new AcroExch.PDDoc.
CreateTextSelect
CreateThumbs
CropPages
DeletePages
DeleteThumbs
GetFileName
GetFlags
GetInfo
GetInstanceID
GetJSObject
GetNumPages
GetPageMode
Gets a value indicating whether the Acrobat application is currently displaying only pages, pages and thumbnails, or pages and bookmarks.
GetPermanentID
InsertPages
MovePage
Open
OpenAVDoc
ReplacePages
Save
SetFlags
Sets a document’s flags indicating whether the document has been modified, whether the document is a temporary document and should be deleted when closed, and the version of PDF used in the file.
SetInfo
SetPageMode
Sets the page mode in which a document is to be opened: display only pages, pages and thumbnails, or pages and bookmarks.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/acrobat_sdk/9/Acrobat9_HTMLHelp/IAC_API_OLE_Objects.103.100.html