PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sun Apr 28, 2024 5:41 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Tue Aug 25, 2009 3:10 am 
Offline

Joined: Tue Aug 25, 2009 3:00 am
Posts: 5
I tried to pass the XGraphics.Graphics property to a method that requires a Graphics and the output was drawn to the screen not the PDF. What is the XGraphics.Graphics property for? Am I using it wrong? How are you supposed to get a Graphics object for a renderer method that needs a Graphics and not an XGraphics?


Last edited by Kevin Phelps on Tue Aug 25, 2009 2:04 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 25, 2009 3:22 am 
Offline

Joined: Tue Aug 25, 2009 3:00 am
Posts: 5
Sorry about the code blocks for all the identifier names!!!


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 25, 2009 8:07 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3096
Location: Cologne, Germany
That's not my area of expertise, but AFAIK you have to use XGraphics if you want to create PDF files.

Once the render routine was refactored to XGraphics it can draw an PDF, screen, printer, meta file.

Quote:
Sorry about the code blocks for all the identifier names!!!

You can edit your post.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 25, 2009 2:07 pm 
Offline

Joined: Tue Aug 25, 2009 3:00 am
Posts: 5
Is there anyway to get a temporary Graphics for the PDF?


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 317 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