The Document type exposes the following members.

Constructors

  NameDescription
Public methodDocument()()()()
Creates a new document.
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 methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExport
Export data into a FormData object.
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFind(TextFindCriteria)
Find text in this document.
Public methodFind(TextFindCriteria, IGlyphComparer, Boolean)
Find text in this document.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodImport(FormData)
Import data from a FormData object.
Public methodImport(FormData, Boolean)
Import data from a FormData object.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberPasswordRequired
This method checks if a password is required to open this document.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
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(HttpResponse)
Write the modified document to a HTTP response.
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(HttpResponse, DocumentWriteMode)
Write the modified document to a HTTP response.
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 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 = Format)
Public propertySecurity
The security settings of this document.
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.

See Also