DocumentMerger Class
Free Trial Web API version Licensing Request A Quote
HAVE QUESTIONS OR NEED HELP?SUBMIT THE SUPPORT REQUEST FORM or write email toSUPPORT@BYTESCOUT.COM
Represents PDF document merger.
Inheritance Hierarchy
Bytescout.PDFExtractorDocumentMerger
Namespace:Bytescout.PDFExtractor
Assembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
The DocumentMerger type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DocumentMerger | Initializes a new instance of DocumentMerger class. | |
| DocumentMerger(String, String) | Initializes a new instance of DocumentMerger class. |
Properties
| Name | Description | |
|---|---|---|
| BookmarkTitles | Get or sets the array of titles for navigation bookmarks. The number of titles in the array must be equal to number of PDF files that you are merging. | |
| CheckPermissions | Defines whether respect permissions set by document owner. If True, extractor throws exception when the extraction is prohibited. | |
| GenerateBookmarks | Gets or sets whether to generate navigation bookmarks (so-called "Outlines") for the merged parts. PDF viewers usually show bookmarks in the sidebar. | |
| LicenseInfo | Gets license information. | |
| MergedDocumentTitle | Sets custom title of the merged document. By default, merged document will have title of the first document. | |
| Profiles | Comma-separated list of profiles to apply to the extractor. Profiles must be previously loaded. | |
| RegistrationKey | Registration key. | |
| RegistrationName | Registration name. | |
| RenameMatchingFieldsDuringMerge | Sets whether to rename form controls with the same names when merging. | |
| Version | Gets the component version number. |
Methods
| Name | Description | |
|---|---|---|
| CreateProfile(String, Boolean, Boolean, Boolean) | Creates JSON profile will all extractor properties with current values. | |
| CreateProfile(String, String, Boolean, Boolean, Boolean) | Creates JSON profile will all extractor properties with current values. | |
| Dispose | Releases all resources used by the DocumentMerger | |
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetHashCode | (Inherited from Object.) | |
| GetPageCount(Stream) | Returns count of pages in PDF document. | |
| GetPageCount(String) | Returns count of pages in PDF document. | |
| GetType | (Inherited from Object.) | |
| LoadAndApplyProfiles | Loads profiles from JSON string and automatically applies them. Note that profiles containing detection keywords will be deferred until the extraction. | |
| LoadProfiles | Loads profiles from JSON file. | |
| LoadProfilesFromString | Loads profiles from JSON string. | |
| MemberwiseClone | (Inherited from Object.) | |
| Merge(Stream, Stream) | Merges several PDF documents into one. | |
| Merge(Object, String) | Merges several PDF documents into one. | |
| Merge(String, String) | Merges several PDF documents into one. | |
| Merge2(Stream, Stream, Stream) | Merges two PDF documents into one. | |
| Merge2(String, String, String) | Merges two PDF documents into one. | |
| Merge2ToVariant | Merges two PDF documents into one and returns the result PDF document as array of bytes. This is COM/ActiveX-compatible version of the method Merge2(Stream, Stream, Stream) for in-memory processing of PDF files. | |
| MergeFolder | Merges all PDF documents in specified folder. | |
| MergeToVariant | Merges several PDF documents into one and returns the result PDF document as array of bytes. This is COM/ActiveX-compatible version of the method Merge(Stream, Stream) for in-memory processing of PDF files. | |
| ToString | (Inherited from Object.) |
Events
| Name | Description | |
|---|---|---|
| PasswordRequired | Occurs when the password required to decrypt the document. |
See Also