Class Merger

Info

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

public sealed class Merger

Inheritance

objectMerger

Inherited Members

Examples

The example demonstrates how to merge two PDF documents.

// create Merger
var plugin = new Merger();
// create MergeOptions object to set instructions
var opt = new MergeOptions();
// add input file paths
opt.AddInput(new FileDataSource(inputPath1));
opt.AddInput(new FileDataSource(inputPath2));
// set output file path
opt.AddOutput(new FileDataSource(outputPath));
// perform the process
plugin.Process(opt);

Constructors

Merger()

public Merger()

Methods

Process(MergeOptions)

Starts the Documentize.Merger processing with the specified parameters.

public 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.

Namespace: Documentize Assembly: Documentize.dll

 English