The Document type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Document()()()() |
Creates a new document.
| |
| Document(IContainer) |
Required for Windows.Forms Class Composition Designer support. You normally do not call this method directly.
| |
| Document(BinaryReader) |
Opens an existing document.
| |
| Document(BinaryReader, String) |
Opens an existing password-protected document.
|
Methods
| Name | Description | |
|---|---|---|
| Close |
After a document has been closed, it has the same state as after calling the default constructor.
| |
| Dispose |
Clean up any resources being used.
(Overrides Component..::..Dispose(Boolean).) | |
| Find(TextFindCriteria) |
Find text in this document.
| |
| Find(TextFindCriteria, IGlyphComparer, Boolean) |
Find text in this document.
| |
| Open(Stream) |
Open a PDF document from a stream.
| |
| Open(String) |
Open a PDF document from a path.
| |
| Open(Uri) |
Open a PDF document from a uniform resource indicator such as a URL.
The viewer will cache the entire document in memory for performance reasons so it is
not necessary that thge URI is available after this method call returns.
| |
| Open(Stream, String) |
Open a PDF document from a stream.
| |
| Open(String, String) |
Open a PDF document from a path.
| |
| Open(Uri, String) |
Open a PDF document from a uniform resource indicator such as a URL.
The viewer will cache the entire document in memory for performance reasons so it is
not necessary that thge URI is available after this method call returns.
| |
| PasswordRequired |
This method checks if a password is required to open this document.
| |
Print this document with the provided print setting (without showing a print dialog).
|
Properties
| Name | Description | |
|---|---|---|
| Bookmarks |
The Bookmarks of this document
| |
| DocumentInfo |
Document Info for the document like Author, Title and Subject.
| |
| EmbeddedFiles |
The embedded files in this document.
| |
| HasDocument |
A document is currently open.
| |
| Layers |
The layers that are defined in this document.
| |
| Pages |
Collection of pages in this document.
| |
| Security |
The security settings of this document.
| |
| Version |
The PDF version for this document;
|