Document Properties |
The Document type exposes the following members.
Name | Description | |
---|---|---|
AllEmbeddedFiles | Plain embedded, associated, and attached files This read-only list contains the union of all plain embedded files, associated files, and files contained in file attachment annotations. This is the list of files contained in a PDF as presented in a PDF viewer. This list does not support appending. | |
AssociatedFiles | Document-associated files This list contains associated files, whose associated object is the document. If the document is writable, then it is possible to append new file references to the list. Every file reference object can occur at most once in this list. Appending to this list results in a Conformance error if the document's conformance is neither PDF/A-3 nor can be upgraded to PDF 2.0. | |
Conformance | The claimed conformance of the document. This method only returns the claimed conformance level, the document is not validated. | |
FormFields | The form fields of the document This list contains all AcroForm form fields that belong to this document. Adding to this list results in an error:
| |
Metadata | The metadata of the document. If the document is writable, the metadata object will be writable too and all changes to the metadata object are reflected in the document. | |
OpenDestination | The destination that is displayed when the document is opened. | |
Outline | The document outline, also known as "Bookmarks". | |
OutputIntent | The output intent of the document. The output intent specifies a color profile that characterizes the intended output device. It is used to render device colors on devices other than the intended output device. | |
Pages | The pages of the document. If the document is writable, it is possible to append new pages to the end of the list. | |
Permissions | The permissions in force for this document. This property is if the document is not encrypted. | |
PlainEmbeddedFiles | Plain embedded files This list contains plain embedded files, i.e., files that are embedded in this document without having a specific association (AssociatedFiles), and without being contained in any FileAttachment. If the document is writable, then it is possible to append new file references to the list. Every file reference object can occur at most once in this list. For PDF/A-3 documents, appending to this list results in a Conformance error. | |
SignatureFields | The signature fields of the document Signature fields are a special kind of form fields, that can contain digital signatures. | |
ViewerSettings | The settings to use when opening the document in a viewer. |