|PDFsharp & MigraDoc Foundation
|XGraphics.FromGraphics in PDFsharp WPF
|Page 1 of 1|
|Author:||jamesarthur [ Wed May 17, 2023 4:41 am ]|
|Post subject:||XGraphics.FromGraphics in PDFsharp WPF|
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?
|Author:||TH-Soft [ Wed May 17, 2023 5:52 am ]|
|Post subject:||Re: XGraphics.FromGraphics in PDFsharp WPF|
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