Wordize for .NET is a professional solution for automating document merging of various formats within enterprise document workflows. The Merger class enables C# developers to programmatically combine Word documents, PDF files, images, and other formats for report preparation, documentation creation, and legal transaction support.
Key Features:Test the capabilities of programmatic document merging using the interactive online demo presented on this page. Upload multiple documents, specify their merge parameters, execute the operation, and download the consolidated document for review. The provided C# code snippet is fully ready for use in your .NET project.
using Wordize.Merging;
Merger.Merge("Output.pdf",
[
"Input1.docx",
"Input2.docx"
]);
using Wordize.Merging;
Merger.Merge("Output.pdf",
[
"Input1.docx",
"Input2.docx"
]);
using Wordize.Merging;
using Wordize.Saving;
var imageStreams = Merger.MergeToImages(
["Input1.docx", "Input2.docx"],
new ImageSaveOptions(SaveFormat.Pdf) { PageLayout = MultiPageLayout.Vertical(10) },
MergeFormatMode.KeepSourceFormatting
);
using var file = File.Create($"Output.pdf");
imageStreams[0].Position = 0;
imageStreams[0].CopyTo(file);
using Wordize.Merging;
using Wordize.Saving;
ImageSaveOptions saveOptions = new ImageSaveOptions(saveFormat);
saveOptions.PageLayout = MultiPageLayout.Vertical(10);
Merger.Create()
.From("Input1.docx")
.From("Input2.docx")
.To("Output.pdf", saveOptions)
.Execute();
using Wordize.Merging;
Merger.Create()
.From("Input1.docx")
.From("Input2.docx")
.To("Output.pdf", SaveFormat.Pdf)
.Execute();