These information types are specific to particular types of object. See the Core Objects section for more detail.

Catalog Object

Type Name   GetInfo   SetInfo   Description
Type  

Always "cata".

Pages  

The Object ID of the Pages Object.

The Pages object holds references to every page in the document.

Outlines  

The Object ID of the Outline Object.

The Outline object holds the structure of the document.

Field Count  

The number of fields in the document.

Field N  

The Object ID of the field specified.

For example if you want the Object ID of field number three you would reference GetInfo(thePagesID, "Field 3").

Field Name  

The Object ID of the named field.

For example if you want the Object ID of the field with the full name 'address.town' you would reference GetInfo(thePagesID, "Field address.town").

The name may be enclosed in single or double quotes in cases where it is ambiguous whether you are referring to a field name or a number.

Note that the PDF specification does not require that full names are unique. The ID of the first matching field will be returned.

Field IDs  

A comma delimited list of the Object IDs of all the fields in the document.

Scanning the field tree can be an expensive process. It can be quicker to get a list of all field IDs and use these as required.

Field Names  

A comma delimited list of the full names of all the fields in the document.

Scanning the field tree can be an expensive process. It can be quicker to get a list of all field names and use these as required.

Pages Object

Type Name   GetInfo   SetInfo   Description
Type  

Always "pags".

Page Count  

The number of pages in the document.

Page N  

The Object ID of the page specified.

For example if you want the Object ID of page number three you would reference GetInfo(thePagesID, "Page 3").

Page Object

Type Name   GetInfo   SetInfo   Description
Type  

Always "page".

Content Count  

The number of objects displayed on the page.

Content N  

The Object ID of the content object specified.

For example if you want the Object ID of the second object on the page you would reference GetInfo(thePageID, "Content 2").

Annot Count  

The number of annotations displayed on the page

Annot N  

The Object ID of the annotation object specified.

For example if you want the Object ID of the second annotation on the page you would reference GetInfo(thePageID, "Annot 2").

Empty Object

Type Name   GetInfo   SetInfo   Description
Type  

Always "empt".

Count  

The number of objects in the document.

Outline Object

Type Name   GetInfo   SetInfo   Description
Type  

Always "outl".

Font Object

Type Name   GetInfo   SetInfo   Description
Type  

Always "font".

Bookmark Object

Type Name   GetInfo   SetInfo   Description
Type  

Always "book".

Stream Object

Type Name   GetInfo   SetInfo   Description
Type  

Always "strm".

Stream

The raw data from the stream. This data may be compressed or otherwise encoded.

Bitmap XObject

Type Name   GetInfo   SetInfo   Description
Type  

Always "jpeg".

Stream

The raw data from the stream. This data may be compressed or otherwise encoded.

Width  

The natural pixel width of the JPEG.

Height  

The natural pixel height of the JPEG.

Components  

The number of color components the JPEG contains.

Grayscale images contain one component. RGB images contain three components. CMYK images contain four components.

Image Object

Type Name   GetInfo   SetInfo   Description
Type  

Always "imag".

Stream

The raw data from the stream. This data may be compressed or otherwise encoded.

XObject  

The Object ID of the XObject containing the image data.

Text Object

Type Name   GetInfo   SetInfo   Description
Type  

Always "text".

Stream

The raw data from the stream. This data may be compressed or otherwise encoded.

EndPos  

The insertion point for the next character after all the text in this object has been drawn.

Characters  

The number of characters drawn.

Lines  

The number of lines of text drawn.

Truncated  

This property indicates if all the assigned text could be displayed. It takes the value "1" if the text had to be truncated and "0" if not.

Only text objects that have been truncated can be chained to using AddHTML. If you try to chain to a text object that is not truncated you will get a zero ID returned.

Prev  

The previous item in an HTML chain.

If the object is not part of a chain (or is at the head of the chain) you will get a zero ID returned.

Line Object

Type Name   GetInfo   SetInfo   Description
Type  

Always "line".

Stream

The raw data from the stream. This data may be compressed or otherwise encoded.

Annotation Object

Type Name   GetInfo   SetInfo   Description
Type  

Always "anno".

SubType  

The type of annotation.

This may be 'Text', 'Link', 'Widget' or any of the many supported types listed in Section 8.4.5 of the Adobe PDF Specification.

Contents  

The visible text of the annotation.

If the annotation subtype does not display text then this field should contain an alternative description of the annotation contents.

Name  

The full name of any form field associated with this annotation.

Note that the PDF specification does not require that full names are unique.

Page  

The Page ID of the document page on which this annotation is located..

Rect  

The rectangle which defines the position and area of the annotation on the page.

So to paint a rectangle over the top of an existing annotation you could write the following.

d.Page = d.GetInfo(theID, "Page")
d.Rect = d.GetInfo(theID, "Rect")
d.FillRect

EMF Object

Type Name   GetInfo   SetInfo   Description
Type  

Always "wemf".

Width  

The width of the image in points.

Height  

The height of the image in points.

ScrollWidth  

The total width of the HTML image.

When adding HTML you only see one page at a time. This property allows you to find the width of the HTML before it is paged onto the PDF.

ScrollHeight  

The total height of the HTML image.

When adding HTML you only see one page at a time. This property allows you to find the height of the HTML before it is paged onto the PDF.

Offset  

The vertical offset from the top of the HTML image to the top of the current page.

Truncated  

This property tells you if there are more pages of HTML to be displayed.

It takes the value "1" if the HTML was truncated and "0" if not.

 

 

 

 

   

 

Browser Based Help. Published by chm2web software.