Print Page | Close Window

How to set PageDimensions as a final! step

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=790
Printed Date: 17 May 24 at 11:14AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: How to set PageDimensions as a final! step
Posted By: FKirch
Subject: How to set PageDimensions as a final! step
Date Posted: 24 Sep 07 at 6:59AM
Hi everybody!

While creating PDF-files everybody will set the PageDimensions in the first steps of the creation process.

But in my case the PDF-PageHeight should depend on the content. 

Is there a way to  create a big page-height  at the starting point of the PDF-creation-process, and at the end to reduce the page-height to the necessary height, without repeating all the drawing-commands?

Using "QP.SetPageDimensions" just before calling "QP.SaveFile" results only in an empty PDF.

Any help will be appreciated.

Fritz



Replies:
Posted By: Ingo
Date Posted: 24 Sep 07 at 9:34AM
Hi Fritz!

What's the other way round ... ?
Don't use SetPageDimensions. If it's missing then the page-dimensions will be as wide and high as the included objects are ;-)

Best regards,
Ingo




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