Load document from local disk

When the source document is located on the local disk GroupDocs.Merger allows you to load it via Merger class constructor specifying absolute or relative path to it.
The following code snippet shows how to load documents from local disk.

string filePath = @"c:\sample.docx";
using (Merger merger = new Merger(filePath))
	Console.WriteLine($"Document loaded from local disk successfully.");

More resources

GitHub Examples 

You may easily run the code above and see the feature in action in our GitHub examples:

Free Online App

Along with full featured .NET library we provide simple, but powerful free Apps.
You are welcome to merge your documents with our free online GroupDocs Merger App.