View previous topic :: View next topic |
Author |
Message |
Graham
Joined: 27 Aug 2008 Posts: 2
|
Posted: Wed Aug 27, 2008 4:26 pm Post subject: Unrecognized token in multi page doc |
|
|
Hi,
I have been happily using PDFSharp for a while, great software, and I'm really hoping you can help me over a little hurdle.
I have a 5 page PDF document (can provide if required). I can open it straight into Acrobat reader no problem.
I am using PDFReader.Open() and I'm then using DrawString to output text onto the PDF. This was going great for the first 3 pages but when I add:
gfx = XGraphics.FromPdfPage(page4)
upon viewing the generated PDF when scrolling to this page I get:
"An unrecognized token '0.00rg' was found".
Even if I don't actually draw anything onto this page I get the error. If I do draw somethng to this page I get the error but I can see the page as it should look, including the string I have drawn on it, so it looks OK but how can I get the error message to go away?
Thanks in advance for any help you can give.
Graham |
|
Back to top |
|
|
Thomas Hoevel
Joined: 16 Oct 2006 Posts: 387 Location: Cologne, Germany
|
Posted: Thu Aug 28, 2008 8:17 am Post subject: |
|
|
Hello!
We need the PDF file to investigate this issue.
I sent you a PM. _________________ Regards
Thomas Hoevel
PDFsharp Team |
|
Back to top |
|
|
Graham
Joined: 27 Aug 2008 Posts: 2
|
Posted: Thu Aug 28, 2008 8:28 am Post subject: |
|
|
Hi Thomas,
Thanks for looking at this, the file has been submitted.
Many thanks
Graham |
|
Back to top |
|
|
|