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"; Merger merger = new Merger(filePath); System.out.print("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.