The Document type exposes the following members.

Constructors

  NameDescription
Public methodDocument()()()()
Creates a new document.
Public methodDocument(IContainer)
Required for Windows.Forms Class Composition Designer support. You normally do not call this method directly.
Public methodDocument(BinaryReader)
Opens an existing document.
Public methodDocument(BinaryReader, String)
Opens an existing password-protected document.

Methods

  NameDescription
Public methodClose
After a document has been closed, it has the same state as after calling the default constructor.
Protected methodDispose
Clean up any resources being used.
(Overrides Component..::..Dispose(Boolean).)
Public methodFind(TextFindCriteria)
Find text in this document.
Public methodFind(TextFindCriteria, IGlyphComparer, Boolean)
Find text in this document.
Public methodOpen(Stream)
Open a PDF document from a stream.
Public methodOpen(String)
Open a PDF document from a path.
Public methodOpen(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.
Public methodOpen(Stream, String)
Open a PDF document from a stream.
Public methodOpen(String, String)
Open a PDF document from a path.
Public methodOpen(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.
Public methodStatic memberPasswordRequired
This method checks if a password is required to open this document.
Public methodPrint
Print this document with the provided print setting (without showing a print dialog).

Properties

  NameDescription
Public propertyBookmarks
The Bookmarks of this document
Public propertyDocumentInfo
Document Info for the document like Author, Title and Subject.
Public propertyEmbeddedFiles
The embedded files in this document.
Public propertyHasDocument
A document is currently open.
Public propertyLayers
The layers that are defined in this document.
Public propertyPages
Collection of pages in this document.
Public propertySecurity
The security settings of this document.
Public propertyVersion
The PDF version for this document;

See Also