Print Page | Close Window

Is it safe to use "CombineContentStreams" function

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2334
Printed Date: 04 Apr 26 at 4:32PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Is it safe to use "CombineContentStreams" function
Posted By: ExchangeViews
Subject: Is it safe to use "CombineContentStreams" function
Date Posted: 12 Jul 12 at 10:28AM
Is it safe to use CombineContentStreams function for all processed pdf. Actually if I use draw text function on pdf file, it can be easily removed by removing this layer. So I am using CombineContentStreams to lock the removal of this layer. I want to confirm whether it is safe to use before SavetoFile function?Question




Replies:
Posted By: AndrewC
Date Posted: 08 Aug 12 at 4:24PM
You probably need to call RemoveSharedContentStreams first as there are PDF's that share the same  content stream across multiple pages.  If you call CombineContentStreams first then the shared content stream will be shared with the first page only which can create major problems.

Andrew.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk