PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sat Apr 27, 2024 10:51 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Jul 27, 2009 8:41 pm 
Offline

Joined: Mon Jul 27, 2009 8:35 pm
Posts: 2
I'm new to PDFSharp. One of the things that looked good was the following:
The same drawing routines can be used to create PDF documents, draw on the screen, or send output to any printer.

Could someone post some simple code that shows how I can do this? Do I use Graphics or XGraphics to do my drawing? How do I convert from one to the other?

Thanks,
Brad


Top
 Profile  
Reply with quote  
PostPosted: Tue Jul 28, 2009 8:59 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3096
Location: Cologne, Germany
Look at the Preview sample.
You'll use XGraphics for drawing on screen, printer, PDF.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Tue Jul 28, 2009 2:05 pm 
Offline

Joined: Mon Jul 27, 2009 8:35 pm
Posts: 2
Thanks for the pointer. That's what I was looking for.


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 345 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