PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sun May 12, 2024 9:27 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon Oct 12, 2009 3:37 pm 
Offline

Joined: Mon Oct 12, 2009 1:41 am
Posts: 1
Hello - any help on this is appreciated.


I have a pdf embedded in a webpage, and I'd like to hide one element in it while it's viewed onscreen. That hidden element does need to appear on the printed copy though.

Specifically, it's a printable coupon with a barcode on it. I need to hide the barcode while the pdf is viewed, to prevent users from doing a screen capture, or printing the entire webpage to present as a coupon. The barcode needs to appear in the printed copy, but not while still being viewed in the page.

Except for suggestions that my client should have thought this through better, I'd consider any information helpful :? This is really the functionality that I need.

I'm new to PDFSharp, but far enough along that I've got the coupon rendering perfectly in all other respects. I'm coding in C#.
Elegant solutions, and quick and dirty solutions are both on the table right now - I have to get this done.

Thanks,
Dan


Top
 Profile  
Reply with quote  
PostPosted: Thu Nov 12, 2009 7:38 am 
Offline

Joined: Wed Nov 11, 2009 9:40 am
Posts: 17
danman wrote:
...
I need to hide the barcode while the pdf is viewed, to prevent users from doing a screen capture
...


Hi, Dan,

I don't think it is possible at all. Say, you think that you solved this problem somehow. User doesn't see barcode in web page.
He presses 'Print' and goes to print preview page. There he can grab barcode doing a screen capture.

Let's assume you've solved this problem too even I don't imagine how Adobe will allow such a hack that you don't see actual printout during preview. But then a smart user with installed virtual XPS or PDF printers will be able to do a screen capture.

_________________
Regards,
Remigijus Pankevičius


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

All times are UTC


Who is online

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