PDFsharp & MigraDoc Foundation https://forum.pdfsharp.net/ |
|
XGraphics.FromGraphics https://forum.pdfsharp.net/viewtopic.php?f=2&t=1114 |
Page 1 of 1 |
Author: | silkkeng [ Wed Mar 24, 2010 10:58 pm ] |
Post subject: | XGraphics.FromGraphics |
Hi, Initially, I create XGraphics from a PdfPage. But, then I have another graphics object as parameter, then I have to use XGraphics = Xgraphics.FromGraphics (graphics) method. But then, how do I convert this XGraphics back to PDFpage's Xgraphics so that the graphic object can be printed to PDF? Thank you Kind Regards, David |
Author: | Thomas Hoevel [ Thu Mar 25, 2010 7:46 am ] |
Post subject: | Re: XGraphics.FromGraphics |
Hi, David! silkkeng wrote: But then, how do I convert this XGraphics back to PDFpage's Xgraphics so that the graphic object can be printed to PDF? You can use XGraphics to draw on PDF, screen, and printer. Simply create different XGraphics objects and call the same drawing routines. No conversion available (AFAIK), simply draw again. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |