PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Fri Jul 20, 2018 2:34 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Thu Jan 25, 2018 5:51 am 
Offline

Joined: Wed Jan 24, 2018 5:33 pm
Posts: 8
Hi! every once in a while I get an exception of type "PdfSharp.SharpZipLib.SharpZipBaseException" when using XGraphics.frompdfpage. I was not yet able to found a solution.

There seems to be nothing special about the pdfpage (the last time it was a word document saved as pdf), but I guess that something in its attributes prevents the 'frompdfpage' to function.

Is there any way to work around this?

any help will be greatly appreciated :)


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 25, 2018 7:18 am 
Offline
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 381
Location: CCAA
Hi!
rogdo wrote:
any help will be greatly appreciated :)
Are you using 1.50 beta5?
Use the Issue Submission Template to make the problem reproducible.
viewtopic.php?f=2&t=832

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


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 25, 2018 3:10 pm 
Offline

Joined: Wed Jan 24, 2018 5:33 pm
Posts: 8
Hi, thanks for the prompt response.

I've installed 1.50 beta5 before i posted thisquestion and it gave me other more serious trouble (it seemed that the PageCount did not work).

in any case, i will try to minimize the problem to some specific code line with a specific document in order to upload it.


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 25, 2018 3:21 pm 
Offline
empira Employee
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 2829
Location: Cologne, Germany
Hi!
rogdo wrote:
it seemed that the PageCount did not work
This could be caused by a corrupt file - which might also be the cause of the other exception with 1.32.

_________________
Regards
Thomas Hoevel
PDFsharp Team


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

All times are UTC


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 11 guests


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