Link Search Menu Expand Document

DocumentMerger Class

Represents PDF document merger.
Inheritance Hierarchy
SystemObject
Bytescout.PDFExtractorDocumentMerger

Namespace:Bytescout.PDFExtractor
Assembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
public class DocumentMerger : IDocumentMerger, 
	IDisposable, IProfiles

The DocumentMerger type exposes the following members.

Constructors
NameDescription
Public methodDocumentMerger
Initializes a new instance of DocumentMerger class.
Public methodDocumentMerger(String, String)
Initializes a new instance of DocumentMerger class.
Top
Properties
NameDescription
Public propertyBookmarkTitles
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.
Public propertyCheckPermissions
Defines whether respect permissions set by document owner. If True, extractor throws exception when the extraction is prohibited.
Public propertyGenerateBookmarks
Gets or sets whether to generate navigation bookmarks (so-called "Outlines") for the merged parts. PDF viewers usually show bookmarks in the sidebar.
Public propertyLicenseInfo
Gets license information.
Public propertyMergedDocumentTitle
Sets custom title of the merged document. By default, merged document will have title of the first document.
Public propertyProfiles
Comma-separated list of profiles to apply to the extractor. Profiles must be previously loaded.
Public propertyRegistrationKey
Registration key.
Public propertyRegistrationName
Registration name.
Public propertyRenameMatchingFieldsDuringMerge
Sets whether to rename form controls with the same names when merging.
Public propertyVersion
Gets the component version number.
Top
Methods
NameDescription
Public methodCreateProfile(String, Boolean, Boolean, Boolean)
Creates JSON profile will all extractor properties with current values.
Public methodCreateProfile(String, String, Boolean, Boolean, Boolean)
Creates JSON profile will all extractor properties with current values.
Public methodDispose
Releases all resources used by the DocumentMerger
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetPageCount(Stream)
Returns count of pages in PDF document.
Public methodGetPageCount(String)
Returns count of pages in PDF document.
Public methodGetType (Inherited from Object.)
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 JSON file.
Public methodLoadProfilesFromString
Loads profiles from JSON string.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodMerge(Stream, Stream)
Merges several PDF documents into one.
Public methodMerge(Object, String)
Merges several PDF documents into one.
Public methodMerge(String, String)
Merges several PDF documents into one.
Public methodMerge2(Stream, Stream, Stream)
Merges two PDF documents into one.
Public methodMerge2(String, String, String)
Merges two PDF documents into one.
Public methodMerge2ToVariant
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.
Public methodMergeFolder
Merges all PDF documents in specified folder.
Public methodMergeToVariant
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.
Public methodToString (Inherited from Object.)
Top
Events
NameDescription
Public eventPasswordRequired
Occurs when the password required to decrypt the document.
Top
See Also

Reference