PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sun Jun 16, 2024 12:27 am

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: Sun Sep 07, 2008 9:46 am 
Offline

Joined: Sun Sep 07, 2008 9:39 am
Posts: 1
Hello,

I have some ready code which draws on the printer as well as the form. I want to be able to use the same code to draw the PDF as well, but for that I need a Graphics object. The XGraphics object has a Graphics object, but wehn I draw to it and save to PDF then I get a blank page.

Any idea if there's any way I can use my existing code without major changes?

Thanks


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Sep 10, 2008 4:37 pm 
Offline

Joined: Tue Sep 09, 2008 12:34 pm
Posts: 3
I would imagine that using XGraphics.FromGraphics(passYourGraphicsObjectHere) should work. Is this what you are doing?


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 175 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:  
cron
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group