Print Page | Close Window

SetPageBox + CapturePageEx + DrawCapturedPage

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=3048
Printed Date: 15 Apr 26 at 5:15AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: SetPageBox + CapturePageEx + DrawCapturedPage
Posted By: mLipok
Subject: SetPageBox + CapturePageEx + DrawCapturedPage
Date Posted: 10 Jan 15 at 2:58PM
I have documents from the bank.
A single A4 page contains evidence of the two bank transfers.
One confirmation is on top and the other at the bottom of the page.
I need to separate these two documents contained on one page.

I thought it was easy and I used:
SetPageBox + CapturePageEx + DrawCapturedPage

It turned out, however, that after the creation of two separate documents, both new documents still contain the entire text of the original document (I mean, the whole text from the one A4 page).

Question what I was doing wrong.
Why cutting out part of the page (marked with a SetPageBox), copied the entire text on this page?


-------------
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600



Replies:
Posted By: AndrewC
Date Posted: 12 Jan 15 at 2:25AM

Michal,
The SetPageBox is only a logical box in the PDF format.  It is always possible to have lins, boxes, text etc outside any of the page boxes.  The page boxes are only use for clipping for viewing, printing and other specialized operations.

So changing any of the PageBoxes will not alter the contents of the PDF in any way.  There is currently nothing in the library that allows for deleting of pdf content from the content stream.

Andrew.


Posted By: mLipok
Date Posted: 12 Jan 15 at 8:12AM
Thanks for the explanation.

mLipok



-------------
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600



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