Convert only 1st Word document page to PDF

inquisitive_one picture inquisitive_one · Apr 1, 2012 · Viewed 22k times · Source

I'm using Office 2010 interop and C# 4. How can I convert just the 1st page of a word document to PDF? This question ("How do I convert Word files to PDF programmatically?") helped me to get started but it only shows me how to save the whole document as PDF.

Is there a way:

  • to save just the 1st page as PDF? (most ideal option)
  • delete all remaining pages and then save as PDF?

How do I go about doing it?

Answer

Manon picture Manon · Oct 10, 2013

You can click on Save As, change the type to PDF, and above the "save" button, you have an option button. Click on that, and you should have the choice to select which pages you want to convert to PDF.