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(Stream) |
Opens an existing document.
| |
| Document(BinaryReader, String) |
Opens an existing password-protected document.
| |
| Document(Stream, String) |
Opens an existing password-protected document.
|
Methods
| Name | Description | |
|---|---|---|
| Calculate |
Trigger to execute the calculate actions in the value fields.
| |
| ClearUsageRights |
Clear the usage rights this document contains, if any.
| |
| 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).) | |
| Export |
Export data into a FormData object.
| |
| Find(TextFindCriteria) |
Find text in this document.
| |
| Find(TextFindCriteria, IGlyphComparer, Boolean) |
Find text in this document.
| |
| Import(FormData) |
Import data from a FormData object.
| |
| Import(FormData, Boolean) |
Import data from a FormData object.
| |
| 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).
| ||
| Write(BinaryWriter) |
Write the modified document to any writer.
| |
| Write(Stream) |
Write the modified document to a stream, eg a FileStream or MemoryStream.
| |
| Write(BinaryWriter, Boolean) |
Write the modified document to any writer.
| |
| Write(BinaryWriter, DocumentWriteMode) |
Write the modified document to any writer.
| |
| Write(Stream, Boolean) |
Write the modified document to a stream, eg a FileStream or MemoryStream.
| |
| Write(Stream, DocumentWriteMode) |
Write the modified document to a stream, eg a FileStream or MemoryStream.
| |
| Write(BinaryWriter, DocumentWriteMode, Boolean) |
Write the modified document to any writer.
| |
| Write(Stream, DocumentWriteMode, Boolean) |
Write the modified document to a stream, eg a FileStream or MemoryStream.
|
Properties
| Name | Description | |
|---|---|---|
| AfterPrintAction |
After print action is executed after a document is printed.
| |
| AfterSaveAction |
After save action is executed after a document is saved.
| |
| BeforeCloseAction |
Before close action is executed before a document will be closed.
| |
| BeforePrintAction |
Before print action is executed before a document will be printed.
| |
| BeforeSaveAction |
Before save action is executed before a document will be saved.
| |
| Bookmarks |
The Bookmarks of this document
| |
| CalculationOrder |
The order of the fields that need to be recalculated.
| |
| DocumentInfo |
Document Info for the document like Author, Title and Subject.
| |
| DocumentType |
Type of document.
| |
| EmbeddedFiles |
The embedded files in this document.
| |
| Fields |
All form fields inside this document.
| |
| Fonts |
The fonts used in this document.
| |
| HasDocument |
A document is currently open.
| |
| JavaScripts |
Document level JavaScripts.
| |
| Layers |
The layers that are defined in this document.
| |
| MetadataSchemas |
The XMP metadata for this document.
| |
| NamedDestinations |
Named Destinations defined at Document level.
| |
| OpenActions |
Open actions are executed while a document is openening.
| |
| Pages |
Collection of pages in this document.
| |
| ScriptBehavior |
The script behavior for all fields in this document. (default = Full)
| |
| Security |
The security settings of this document.
| |
| SignatureHandlerFactory |
The SignatureHandlerFactory will be called to create a SignatureHandler
whenever a signature field must be signed or validated.
| |
| Updates |
The updates for this document.
| |
| UsageRights |
The usage rights this document contains.
| |
| Version |
The PDF version for this document;
| |
| ViewerPreferences |
Viewer preferences of this document.
| |
| XfaInfo |
Additional XFA specific information for this document.
|
Events
| Name | Description | |
|---|---|---|
| VerifyIdentity |
Raised when the status of a signature field must be determined.
|