Print Page | Close Window

page portion

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=1848
Printed Date: 22 Nov 24 at 7:18PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: page portion
Posted By: chrisr
Subject: page portion
Date Posted: 06 Jun 11 at 8:11AM
hi there i need to get a portion from a page. SetOpenActionDestinationFull gets it sort off but it gives the full page in a zoomed way. any chance of getting eg. Page(3), Left(20), Top(20), Right(30), Bottom(50). and ONLY save that returned image "region" to a file?

any help appreciated

thanks
chris



Replies:
Posted By: chrisr
Date Posted: 06 Jun 11 at 1:23PM
does quickpdf have a "snapshot" function, or will it have available in the near future?


Posted By: Rowan
Date Posted: 06 Jun 11 at 1:31PM
Well if you wanted to create an image snapshot then would you would do is adjust the cropbox dimensions to match the area of the page that you want to snapshot and then use a function such as RenderPageToFile to render the cropbox area of the page to an image.

If you want the snapshot to remain a bit then it is a little more difficult because while it is possible to crop the visible area of the page, this does not actually delete the objects that are outside of the visible area. They still exist internally within the PDF, they just aren't visible.


Posted By: chrisr
Date Posted: 06 Jun 11 at 1:33PM
thanks for the help - im off to cropping



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