PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Mar 28, 2024 5:29 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Aug 27, 2008 4:26 pm 
Offline

Joined: Wed Aug 27, 2008 4:14 pm
Posts: 2
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Aug 28, 2008 8:17 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3095
Location: Cologne, Germany
Hello!

We need the PDF file to investigate this issue.

I sent you a PM.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Aug 28, 2008 8:28 am 
Offline

Joined: Wed Aug 27, 2008 4:14 pm
Posts: 2
Hi Thomas,

Thanks for looking at this, the file has been submitted.

Many thanks

Graham


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 48 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