Class Merger

Info

Represents Documentize.Merger plugin. Used to merge multiple PDF documents into a single PDF.

public static class Merger

Inheritance

objectMerger

Inherited Members

Examples

The example demonstrates how to Merge two PDF documents.

// Create MergeOptions object to set instructions
var options = new MergeOptions();
// Add input file paths
options.AddInput(new FileDataSource("path_to_your_pdf_file_1.pdf"));
options.AddInput(new FileDataSource("path_to_your_pdf_file_2.pdf"));
// Set output file path
options.AddOutput(new FileDataSource("path_to_result_pdf_file.pdf"));
// Perform the process
Merger.Process(options);

Methods

Process(MergeOptions)

Starts the Documentize.Merger processing with the specified parameters.

public static ResultContainer Process(MergeOptions options)

Parameters

  • options MergeOptions: An options object containg instructions for the operation.

Returns

ResultContainer : An Documentize.ResultContainer object containing the result of the operation.

Exceptions

ArgumentException

If options not set.

Namespace: Documentize Assembly: Documentize.dll

 English