PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Fri Nov 08, 2024 10:55 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed May 17, 2023 4:41 am 
Offline

Joined: Wed May 17, 2023 4:38 am
Posts: 1
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


Top
 Profile  
Reply with quote  
PostPosted: Wed May 17, 2023 5:52 am 
Offline
PDFsharp Guru
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 1007
Location: CCAA
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?

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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