Merge files

GroupDocs.Merger allows to merge multiple documents into single document nice and easy. The result will contain the content of all source documents with all data, styles and formatting. Here are the simple steps to merge several documents of any supported format:

  • Instantiate Merger object with source document path or stream;
  • Call Join method and pass next merged document file path or stream to it. Repeat this step for every merged document.
  • Call Save method specifying file path to save resultant document.

Please learn more about how to merge PDF, Microsoft Word, Microsoft PowerPoint or Excel files from the articles listed below: