GuterProgrammierer
GuterProgrammierer

Reputation: 73

c# Word-AddIn convert activeDocument to a virtual PDF and merge them into one PDF document

I am creating multiple virtual documents and then I want to merge them into one PDF, without saving them somewhere. All I found for now are guides, in which they save the document as a PDF somewhere and then they read the PDF to merge them into one.

It should also be possible to combine multiple PDFs and not only two.

Upvotes: 0

Views: 56

Answers (1)

Marormur
Marormur

Reputation: 145

Why don't you want to save them somewhere? You could create temporary files at a place like C:\Users\%username%\AppData\Local\Temp\%yourProject%, work with those files, following the guide you've found and clean up afterwards. At least I don't see a problem with using temporary files and folders at the right place.

Upvotes: 0

Related Questions