---
title: "Merge Word Docs and Send to PDF"
published_at: "2012-05-15T18:25:00+00:00"
modified_at: "2026-01-12T12:44:51+00:00"
url: "https://www.syncfusion.com/blogs/post/merge-word-docs-and-send-to-pdf"
excerpt: "Ever need to convert multiple Word documents into one Pdf document? Here is a quick and easy sample showing just that! // Creating a New document. WordDocument doc = New WordDocument(); // Imports the first template document If ((String)textBox1.Tag !=..."
taxonomy_category:
  - "C#"
  - "Development"
  - "File Formats"
  - "PDF"
  - "Word"
taxonomy_post_tag:
  - "conversion"
  - "doc"
  - "doc to pdf"
  - "PDF"
---

# Merge Word Docs and Send to PDF

[Chad Church](https://www.syncfusion.com/blogs/author/chadc)

![Image](https://www.syncfusion.com/blogs/wp-content/uploads/2018/08/merge_word_send_pdf_7abd276f.png)


Ever need to convert multiple Word documents into one Pdf document? Here is a quick and easy sample showing just that!

```
   // Creating a New document.
            WordDocument doc = New WordDocument();
            // Imports the first template document
            If ((String)textBox1.Tag != String.Empty)
                doc.ImportContent(New WordDocument((String)textBox1.Tag));
            Else
                MessageBox.Show("Browse a Word document To import", "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            // Imports the second template document
            If ((String)textBox2.Tag != String.Empty)
                doc.ImportContent(New WordDocument((String)textBox2.Tag));
            Else
                MessageBox.Show("Browse a Word document To import", "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            If ((String)textBox1.Tag != String.Empty && (String)textBox2.Tag != String.Empty)
            {
                DocToPDFConverter converter = New DocToPDFConverter();
                //Convert Imported word document into PDF document
                PdfDocument pdfDoc = converter.ConvertToPDF(doc);
                //Save the pdf file
                pdfDoc.Save((String)textBox1.Text + ".pdf");
                pdfDoc.Close(True);
            }
```

[Sample Link](https://www.syncfusion.com/downloads/Support/DirectTrac/94372/Sample735746650.zip)

Multiple docs, doc to pdf  
 [https://www.syncfusion.com/downloads/fileformats%20](https://www.syncfusion.com/downloads/fileformats%20)
