View previous topic :: View next topic |
Author |
Message |
jediwi
Joined: 06 Dec 2006 Posts: 1
|
Posted: Wed Dec 06, 2006 12:48 pm Post subject: Word Docs To PDF |
|
|
Being new to PDFSharp, I need to know how to load a Word document and convert it to a PDF file.
Can someone please provide a code sample for doing this?
Thanks! |
|
Back to top |
|
 |
QuoVadis

Joined: 08 Nov 2006 Posts: 4
|
Posted: Thu Dec 07, 2006 8:56 pm Post subject: |
|
|
You have to use the COM-Api of Microsoft Word to print the document on a PostScript printer, redirect the output to a file (with RedMon or the COM-Api) and convert the PostScript file to a PDF (with Ghostscript or the GS wrapper of PDFSharp). |
|
Back to top |
|
 |
|