PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

PDFsharp C#, Open without saving, printing
https://forum.pdfsharp.net/viewtopic.php?f=2&t=3029
Page 1 of 1

Author:  Artjom [ Tue Jan 20, 2015 10:35 am ]
Post subject:  PDFsharp C#, Open without saving, printing

Hello,

i have created a pdf file in c # (with pdf sharp) and want to open it without saving it

and print file.

string pdfFilename = " XXX.pdf";
pdf.Save(pdfFilename);
Process.Start(pdfFilename);




thank you

Author:  Thomas Hoevel [ Tue Jan 20, 2015 3:59 pm ]
Post subject:  Re: PDFsharp C#, Open without saving, printing

Hi!

How do you want to view the PDF? How do you want to print?
Adobe Reader needs a file for viewing and printing.

You can do it without PDF file if you do it like the Preview sample does:
http://www.pdfsharp.net/wiki/Preview-sample.ashx

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/