These information types are specific to particular types of object.
See the Core Objects section for more
detail.
| 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").
Only leaf fields - those with a visible appearance on the
page - are returned. Typically these are Annotation objects.
|
| 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.
Only leaf fields - those with a visible appearance on the
page - are returned. Typically these are Annotation objects.
|
| 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.
Only leaf fields - those with a visible appearance on the
page - are returned. Typically these are Annotation objects.
|
| 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.
Only leaf fields - those with a visible appearance on the
page - are returned. Typically these are Annotation objects.
|
| Type Name |
GetInfo |
SetInfo |
Description |
| Type |
 |
|
Always "jpeg" for historical reasons. However this
does not mean that the bitmap is necessarily in JPEG format.
|
| Stream |
 |
 |
The raw data from the stream. This data may be compressed
or otherwise encoded.
|
| Width |
 |
|
The natural pixel width of the bitmap.
|
| Height |
 |
|
The natural pixel height of the bitmap.
|
| Components |
 |
|
The number of color components the bitmap contains.
Grayscale images contain one component. RGB images contain
three components. CMYK images contain four components.
|
| ColorSpace |
 |
|
The Object ID of the Color Space for the Bitmap.
|
| Alpha |
|
 |
This allows you to assign a constant alpha value to the image.
The alpha value should range between 0 (fully transparent)
and 255 (fully opaque). Values outside this range will result
in the alpha constant being removed.
|
| Chromakey |
|
 |
This allows you to assign a transparent color or color range
to the image.
You need to specify two values for each component of the
color. If all the components of a color fall within the specified
ranges then the color will not be displayed.
For example, to make pure white elements of an RGB transparent
you might specify SetInfo(theID, "Chromakey",
"255 255 255 255 255 255"). If you wanted
to include colors which were off-white you might use SetInfo(theID,
"Chromakey", "250 255 250 255 250 255").
|
| Grayscale |
|
 |
This allows you to convert an RGB image to Grayscale. It
can be useful for preparing soft masks.
|
| Type Name |
GetInfo |
SetInfo |
Description |
| Type |
 |
|
Always "text".
|
| Rect |
 |
|
The rect defining the bounds of the visible content.
This rectangle is encoded in PDF coordinates rather than
any abstracted coordinate space
|
| 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.
|
| 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
|
| FieldType |
 |
|
The field type for any form field associated with this annotation.
The following field types are available:
- "Pushbutton"
- "Checkbox"
- "Radio"
- "Text"
- "List"
- "Combo"
- "Signature"
- "Unknown"
More details of these field types can be found in the Section
8.6.3 of the Adobe PDF
Specification.
|
| FieldValue |
 |
 |
The field value for any form field associated with this annotation.
You may wish to assign or query the form field value using
this property.
Checkboxes and Radio Buttons have a value which is either
"Off" or the on-state of the control as specified
in the FieldOptions.
Text fields have a free-text value.
Combo Boxes and List Boxes have values restricted to a set
of selections as specified in the FieldOptions.
Pushbuttons and Signatures do not have a value.
|
| FieldOptions |
 |
|
The field options for any form field associated with this
annotation.
Typically you assign a value using the FieldValue property.
Some fields such as Text fields will accept any value. Others
such as Checkboxes and List Boxes accept only a limited range
of options. The field options tells you what options are available
for a particular field.
The unmarked state of a Checkbox or Radio Button is always
"Off". The marked state varies and is available
via this property.
The set of options for a Combo Box or List Box is available
as a comma delimited set of strings which can be obtained
via this property.
Pushbuttons, Signatures and Text fields do not have options.
|
| FT |
 |
|
The effective "/FT" value for any form field associated
with this annotation.
This value may be defined in a parent object so the value
may differ from the "/FT" value defined directly
on this object.
|
| Ff |
 |
|
The effective "/Ff" value for any form field associated
with this annotation.
This value may be defined in a parent object so the value
may differ from the "/Ff" value defined directly
on this object.
|
| Type Name |
GetInfo |
SetInfo |
Description |
| Type |
 |
|
Always "wemf".
|
| Stream |
 |
 |
The raw data from the stream. This data may be compressed
or otherwise encoded.
|
| Rect |
 |
|
The rect defining the bounds of the visible content.
This rectangle is encoded in PDF coordinates rather than
any abstracted coordinate space
|
| 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.
This value is measured in pixels.
|
| 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.
This value is measured in pixels.
|
| PageOffset |
 |
|
The vertical offset from the top of the HTML image to the
top of the current page.
This value is measured in pixels.
|
| PageHeight |
 |
|
The height of the portion of the HTML image which is being
displayed.
This value is measured in pixels.
|
| 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.
|
| ItemCount |
 |
|
The number of visual content items present in
this object. |
| ScriptReturn |
 |
|
Any return value from the OnLoadScript. |
| Text |
 |
|
The text visible on the view.
Note that the text is in layout order not necessarily in
reading order.
|
| URL |
 |
|
The url of the page which was rendered. |