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

XGraphics.Graphics property does not work
https://forum.pdfsharp.net/viewtopic.php?f=2&t=849
Page 1 of 1

Author:  Kevin Phelps [ Tue Aug 25, 2009 3:10 am ]
Post subject:  XGraphics.Graphics property does not work

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?

Author:  Kevin Phelps [ Tue Aug 25, 2009 3:22 am ]
Post subject:  Re: XGraphics.Graphics property does not work

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

Author:  Thomas Hoevel [ Tue Aug 25, 2009 8:07 am ]
Post subject:  Re: XGraphics.Graphics property does not work

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.

Author:  Kevin Phelps [ Tue Aug 25, 2009 2:07 pm ]
Post subject:  Re: XGraphics.Graphics property does not work

Is there anyway to get a temporary Graphics for the PDF?

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