Print Page | Close Window

Resize Existing Layers or DrawBox

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=3050
Printed Date: 04 May 24 at 4:38AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Resize Existing Layers or DrawBox
Posted By: JMLM
Subject: Resize Existing Layers or DrawBox
Date Posted: 15 Jan 15 at 9:50AM
Hello,
I try to merge one pdf created by Word Office, but it adds a white background layer ( like it is done with the drawbox function (quickpdf)).
I need to merge this pdf with another pdf, but the second pdf is masked by this white area.
I used : (it removes the white layer)
           qp.SplitPageText(0);
           qp.SelectContentStream(0);
           qp.DeleteContentStream();
But these lines remove all images.


          Iwant a result like  qp.SetCropBox does but it doesn't works when the pdf is merged with another pdf.

Is there a solution to resize, delete this kind of layer. (setTransparency doesn't work in this case)
Cheers,
Jim




Replies:
Posted By: AndrewC
Date Posted: 27 Jan 15 at 10:23AM
Jim,

Unfortunately this PDF draws a white rectangle before drawing and content.  You would need to manually extract and delete this rectangle from the content stream which is not always an easy or simple task.

Andrew.


Posted By: JMLM
Date Posted: 04 Feb 15 at 3:29PM
Ok thanks.



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