Type   Default Value   Read Only   Description
Long   0 Yes The root catalog object.

 

   
Notes
 
     

This property holds the ID of the catalog object.

The catalog is the root of the whole PDF document. It contains information on the root Pages object and the Outline object.

For dynamically created documents the root of the document is always one. However documents read from existing PDF files may use different root IDs.

 

   
Example
 
     

The following code snippet illustrates how one might find some information about a PDF document.

Set theDoc = Server.CreateObject("ABCpdf3.Doc")
theDoc.Read "c:\mydoc.pdf"
theVers = theDoc.GetInfo(theDoc.Root, "/Version")
theNames = theDoc.GetInfo(theDoc.Root, "/Names")
thePages = theDoc.GetInfo(theDoc.Root, "Pages")
theOutlines = theDoc.GetInfo(theDoc.Root, "outlines")

Response.Write "Version " & theVers & "<br>"
Response.Write "Names " & theNames & "<br>"
Response.Write "Pages ID" & thePages & "<br>"
Response.Write "Outlines ID " & theOutlines & "<br>"

This might result in the following output.

Version /1.4
Names 12 0 R
Pages ID 618
Outlines ID 2169

 

   

 

Browser Based Help. Published by chm2web software.