PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Jul 18, 2024 12:20 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 Dec 28, 2011 9:37 am 
Offline

Joined: Wed Dec 28, 2011 9:30 am
Posts: 2
Hi all,i'm using pdfsharp to create watermark on pdf pages.I succesfully did it with pdfsharp but while my program watermarks "Assertion Failed...object type transformation must not be done with direct objects" error pops up for each page in the pdf file.I tried all the recommended solutions like building in release mode,uncommenting the lines starting with Debug.Assert.Nothing worked,i still get the same error.Some body help me please.
Thanx.

_________________
"It is the mark of an educated mind to be able to entertain a thought without accepting it." Aristotle


Top
 Profile  
Reply with quote  
PostPosted: Sat Dec 31, 2011 6:43 pm 
Offline
PDFsharp Expert
User avatar

Joined: Wed Dec 09, 2009 8:59 am
Posts: 343
Uncommenting the source line will work - provided you re-compile the source code again and use the DLL created during that compile.

Switching to Release build won't work if you still reference the assembly from the Debug build - it should work if you reference the PDFsharp project (like the Sample solutions do).

_________________
Öhmesh Volta ("() => true")
PDFsharp Team Holiday Substitute


Top
 Profile  
Reply with quote  
PostPosted: Wed Jan 04, 2012 1:50 pm 
Offline

Joined: Wed Dec 28, 2011 9:30 am
Posts: 2
problem solved.thanks

_________________
"It is the mark of an educated mind to be able to entertain a thought without accepting it." Aristotle


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: Google [Bot] and 33 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