Search code examples
c#pdfpdf-generation

Open PDF and print to PDF programmatically C#


I am developing an application that is able to open and display PDFs after I open them and print them to another PDF using CutePDF, but the originals are not viewable.

I am looking for a way to programmatically open a PDF file, and print to another PDF file (not necessarily using CutePDF, just printing to another PDF is the desired functionality).

This will be integrated into a C# .NET project. Are there any suggestions how to go about doing this?

Thanks.


Solution

  • You could use Office Interop and generate the PDF, when you say "print to another pdf", I imagine you mean just generate? Or are you saying spool them to a pdf print driver that essentially will just create a PDF to be saved.