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.
stringfilePath=@"c:\sample.docx";using(Mergermerger=newMerger(filePath)){Console.WriteLine($"Document loaded from local disk successfully.");}
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.