Merger

Merger class

Represents the main class that controls the document merging process.

public class Merger : IDisposable

Constructors

Name Description
Merger(Func<Stream>) Initializes new instance of Merger class.
Merger(Stream) Initializes new instance of Merger class.
Merger(string) Initializes new instance of Merger class.
Merger(Func<Stream>, ILoadOptions) Initializes new instance of Merger class.
Merger(Func<Stream>, MergerSettings) Initializes new instance of Merger class.
Merger(Stream, ILoadOptions) Initializes new instance of Merger class.
Merger(Stream, MergerSettings) Initializes new instance of Merger class.
Merger(string, ILoadOptions) Initializes new instance of Merger class.
Merger(string, MergerSettings) Initializes new instance of Merger class.
Merger(Func<Stream>, ILoadOptions, MergerSettings) Initializes new instance of Merger class.
Merger(Stream, ILoadOptions, MergerSettings) Initializes new instance of Merger class.
Merger(string, ILoadOptions, MergerSettings) Initializes new instance of Merger class.

Methods

Name Description
AddPassword(IAddPasswordOptions) Protects document with password.
ApplyPageBuilder(PageBuilder) Applies page builder changes.
ChangeOrientation(IOrientationOptions) Applies a new orientation mode for the specified pages.
CreatePageBuilder(PageBuilderOptions) Creates a new Page builder with predefined document collection.
Dispose() Disposes resources.
ExtractPages(IExtractOptions) Makes a new document with some pages from the source document.
GeneratePreview(IPreviewOptions) Generates document pages preview.
GetDocumentInfo() Gets information about document pages: their sizes, maximum page height, the width of a page with the maximum height.
ImportDocument(IImportDocumentOptions) Imports the document as attachment or embedded via Ole.
IsPasswordSet() Checks whether document is password protected.
Join(Stream) Joins the documents into one single document.
Join(string) Joins the documents into one single document.
Join(Stream, IImageJoinOptions) Joins the documents into one single document.
Join(Stream, IJoinOptions) Joins the documents into one single document.
Join(Stream, IPageJoinOptions) Joins the documents into one single document.
Join(string, IImageJoinOptions) Joins the documents into one single document.
Join(string, IJoinOptions) Joins the documents into one single document.
Join(string, IPageJoinOptions) Joins the documents into one single document.
MovePage(IMoveOptions) Moves page to a new position within document of known format.
RemovePages(IRemoveOptions) Removes pages from document of known format.
RemovePassword() Removes password from document.
RotatePages(IRotateOptions) Rotate pages of the document.
Save(Stream) Saves the result document to the stream document.
Save(string) Saves the result document file to filePath.
Save(string, bool) Saves the result document file to filePath.
Split(ISplitOptions) Splits the single document to the multiple documents.
Split(ITextSplitOptions) Splits the single document to the multiple documents.
SwapPages(ISwapOptions) Swaps two pages within document of known format.
UpdatePassword(IUpdatePasswordOptions) Updates existing password for document.

See Also