PDFsharp & MigraDoc Foundation https://forum.pdfsharp.net/ |
|
XGraphics.FromGraphics in PDFsharp WPF https://forum.pdfsharp.net/viewtopic.php?f=4&t=4443 |
Page 1 of 1 |
Author: | jamesarthur [ Wed May 17, 2023 4:41 am ] |
Post subject: | XGraphics.FromGraphics in PDFsharp WPF |
Hi, My application was using the old version of Pdf sharp, and I used XGraphics.FromGraphics to render stuff on the screen for live previewing. After updating to the WPF version I noticed that this function is gone. It is on the GDI+ version, but not the WPF one. When will this be implemented and is there any workaround? Regards, Zhang |
Author: | TH-Soft [ Wed May 17, 2023 5:52 am ] |
Post subject: | Re: XGraphics.FromGraphics in PDFsharp WPF |
jamesarthur wrote: It is on the GDI+ version, but not the WPF one. When will this be implemented and is there any workaround? It will probably never get implemented - but feel free to give it a try and implement it.As a workaround, use the GDI build. Note that the Graphics class comes with GDI+ and there is no easy solution to use it without GDI+. Where does that Graphic object come from? If it comes from GDI+, then why don't you simply use the GDI build? |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |