Link Search Menu Expand Document

Document Methods

The Document type exposes the following members.

Methods
NameDescription
Public methodAppend
Appends the contents of specified PDF document to the current document.
Public methodDispose
Public methodEquals (Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Overrides ObjectFinalize.)
Public methodFlattenDocument
Flattens document (replaces all input controls with static text) making PDF forms uneditable.
Public methodGetDocumentBytes
Gets the bytes of the document.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodLoad(Stream)
Loads document from specified stream.
Public methodLoad(String)
Loads document from specified file.
Public methodLoad(Stream, String)
Loads document from specified stream.
Public methodLoad(String, String)
Loads document from specified file.
Public methodLoadAndApplyProfiles
Loads profiles from JSON string and automatically applies them. Note that profiles containing detection keywords will be deferred until the extraction.
Public methodLoadProfiles
Loads profiles from file.
Public methodLoadProfilesFromString
Loads profiles from JSON string.
Public methodMergeDocuments(Document)
Merges two documents.
Public methodMergeDocuments(Document)
Merges multiple documents.
Public methodMergeDocuments(Document, Document)
Merges three documents.
Public methodMergeDocuments(Document, Document, Document)
Merges four documents.
Public methodSave(Stream)
Saves the document to the specified stream.
Public methodSave(String)
Saves the document to the specified file.
Public methodSaveRange(Stream, Int32, Int32)
Saves the specified range of pages to the specified stream.
Public methodSaveRange(String, Int32, Int32)
Saves range of pages to the specified file.
Public methodSaveText(Stream)
Saves the document as text to the specified stream.
Public methodSaveText(String)
Saves the document as text to the specified file.
Public methodSign(String, String)
Signs document with digital signature.
Public methodSign(String, String, RectangleF, String, String, String)
Signs document with digital signature.
Public methodSign(String, String, RectangleF, String, String, String, NullableDateTime)
Signs document with digital signature.
Public methodSign(String, String, Single, Single, Single, Single, String, String, String)
Signs document with digital signature.
Public methodSign(String, String, Single, Single, Single, Single, String, String, String, NullableDateTime)
Signs document with digital signature.
Public methodspecialOverrideAddFontDataFile
Add Font Files to be used as first priority when writing the file
Public methodspecialOverrideSetDebugUseOnlyUseFixedIVForEncrypton
Force regular encrypt for the successful unit-test
Public methodspecialOverrideSetForcedTimestamp
Force writing of specific timestamp to file
Public methodspecialOverrideSetForcedVersionInfo
Force writing of test version info to file
Public methodToString (Inherited from Object.)
Top
See Also

Reference