PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

XGraphics.frompdfpage exception
https://forum.pdfsharp.net/viewtopic.php?f=2&t=3720
Page 1 of 1

Author:  rogdo [ Thu Jan 25, 2018 5:51 am ]
Post subject:  XGraphics.frompdfpage exception

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 :)

Author:  TH-Soft [ Thu Jan 25, 2018 7:18 am ]
Post subject:  Re: XGraphics.frompdfpage exception

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

Author:  rogdo [ Thu Jan 25, 2018 3:10 pm ]
Post subject:  Re: XGraphics.frompdfpage exception

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.

Author:  Thomas Hoevel [ Thu Jan 25, 2018 3:21 pm ]
Post subject:  Re: XGraphics.frompdfpage exception

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.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/