PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sun Jun 30, 2024 8:29 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Jan 20, 2015 10:35 am 
Offline

Joined: Tue Jan 20, 2015 10:26 am
Posts: 1
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


Top
 Profile  
Reply with quote  
PostPosted: Tue Jan 20, 2015 3:59 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3100
Location: Cologne, Germany
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

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 75 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group