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(Stream)
Opens an existing document.
Public methodDocument(BinaryReader, String)
Opens an existing password-protected document.
Public methodDocument(Stream, String)
Opens an existing password-protected document.

Methods

  NameDescription
Public methodCalculate
Trigger to execute the calculate actions in the value fields.
Public methodClearUsageRights
Clear the usage rights this document contains, if any.
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 methodExport
Export data into a FormData object.
Public methodFind(TextFindCriteria)
Find text in this document.
Public methodFind(TextFindCriteria, IGlyphComparer, Boolean)
Find text in this document.
Public methodImport(FormData)
Import data from a FormData object.
Public methodImport(FormData, Boolean)
Import data from a FormData object.
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).
Public methodWrite(BinaryWriter)
Write the modified document to any writer.
Public methodWrite(Stream)
Write the modified document to a stream, eg a FileStream or MemoryStream.
Public methodWrite(BinaryWriter, Boolean)
Write the modified document to any writer.
Public methodWrite(BinaryWriter, DocumentWriteMode)
Write the modified document to any writer.
Public methodWrite(Stream, Boolean)
Write the modified document to a stream, eg a FileStream or MemoryStream.
Public methodWrite(Stream, DocumentWriteMode)
Write the modified document to a stream, eg a FileStream or MemoryStream.
Public methodWrite(BinaryWriter, DocumentWriteMode, Boolean)
Write the modified document to any writer.
Public methodWrite(Stream, DocumentWriteMode, Boolean)
Write the modified document to a stream, eg a FileStream or MemoryStream.

Properties

  NameDescription
Public propertyAfterPrintAction
After print action is executed after a document is printed.
Public propertyAfterSaveAction
After save action is executed after a document is saved.
Public propertyBeforeCloseAction
Before close action is executed before a document will be closed.
Public propertyBeforePrintAction
Before print action is executed before a document will be printed.
Public propertyBeforeSaveAction
Before save action is executed before a document will be saved.
Public propertyBookmarks
The Bookmarks of this document
Public propertyCalculationOrder
The order of the fields that need to be recalculated.
Public propertyDocumentInfo
Document Info for the document like Author, Title and Subject.
Public propertyDocumentType
Type of document.
Public propertyEmbeddedFiles
The embedded files in this document.
Public propertyFields
All form fields inside this document.
Public propertyFonts
The fonts used in this document.
Public propertyHasDocument
A document is currently open.
Public propertyJavaScripts
Document level JavaScripts.
Public propertyLayers
The layers that are defined in this document.
Public propertyMetadataSchemas
The XMP metadata for this document.
Public propertyNamedDestinations
Named Destinations defined at Document level.
Public propertyOpenActions
Open actions are executed while a document is openening.
Public propertyPages
Collection of pages in this document.
Public propertyScriptBehavior
The script behavior for all fields in this document. (default = Full)
Public propertySecurity
The security settings of this document.
Public propertySignatureHandlerFactory
The SignatureHandlerFactory will be called to create a SignatureHandler whenever a signature field must be signed or validated.
Public propertyUpdates
The updates for this document.
Public propertyUsageRights
The usage rights this document contains.
Public propertyVersion
The PDF version for this document;
Public propertyViewerPreferences
Viewer preferences of this document.
Public propertyXfaInfo
Additional XFA specific information for this document.

Events

  NameDescription
Public eventVerifyIdentity
Raised when the status of a signature field must be determined.

See Also