Document Class |
public class Document : NativeObject, IDisposable
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:
| |
IsLinearized | Whether the document is linearized. Linearization is also known as "Fast Web View" and is a way of optimizing PDFs so they can be streamed into a client application. This helps online documents open almost instantly, without having to wait for a large document to completely download. | |
Language | The default language for the document. A language identifier specifying the natural language for all text in the document except where overridden by language specifications for structure elements or marked content. If this entry is absent, the language is considered unknown. | |
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. | |
OptionalContentGroups | The optional content groups (layers) of the document. | |
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. |
Name | Description | |
---|---|---|
Create | Create a new PDF document. Documents with created with this method are writable and can be modified. | |
CreateWithFdf | Create a new PDF document and an associated FDF. Documents with created with this method are writable and can be modified. When creating a document with this method, all MarkupAnnotations - created or copied - are stored as an FDF file to the fdfStream. In the output PDF (pdfStream), only annotations that are not MarkupAnnotations are stored. | |
Dispose | Close the object Release all native resources associated with the object. | |
Equals | (Inherited from NativeObject) | |
GetHashCode | (Inherited from NativeObject) | |
Open | Open a PDF document. Documents opened with this method are read-only and cannot be modified. | |
OpenWithFdf | Open a PDF document together with an FDF file. Documents opened with this method are read-only and cannot be modified. |