Print Page | Close Window

Add a new blank page

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


Topic: Add a new blank page
Posted By: dckarpove
Subject: Add a new blank page
Date Posted: 29 Dec 17 at 3:37PM
Do I need to add a new blank page at the beginning of the document or in the middle of the document, how do I do this?



Replies:
Posted By: Ingo
Date Posted: 29 Dec 17 at 6:34PM
Hi dckarpove,

if it's a new document then the blank page should be at the first position of the document ;-)
To be more serious:
After creating the instance you can start with NewDocument.
This function creates a new blank page and you can draw on it initially.
After Save and Free you have a new one-page-pdf.
After creating the instance you can start with LoaFromFile to load an existing pdf to work with.
The function NewPage will add a new blank page at the end of this existing document.
The function NewPages optionally adds more pages at the end...
After Save and Free you have a modified pdf with one or more blank pages at the end of the document.

The starting point for any help y the publishers is here:
http://www.quickpdf.org/
Here's the link to the online-reference:
http://www.debenu.com/docs/pdf_library_reference/FunctionGroups.php
Her you'll find enough first-step-samples:
http://www.debenu.com/products/development/debenu-pdf-library/help/samples/

Here's the search function for all helping resources regarding QuickPDF:
http://www.debenu.com/docs/pdf_library_reference/Search.php
On the search line you can insert "add a new page" and then click on the magnifying glass...

Cheers and welcome here,
Ingo

BTW: A happy new year 2018 to you and all readers here!




-------------
Cheers,
Ingo



Posted By: dckarpove
Date Posted: 02 Jan 18 at 1:41PM

Hello Ingo, I guess I did not ask my correct question. I already have a document, ie a pdf file, and I would like to insert a blank page at the beginning or in the middle of any other part of that document, how do I do that? Thanks for the answer.


Posted By: tfrost
Date Posted: 02 Jan 18 at 2:12PM
I have never had to do this myself, but what about trying the InsertPages function:
(http://www.debenu.com/docs/pdf_library_reference/InsertPages.php)

If you are using Direct Access to open the file it looks from the function reference manual as if you would have to use DANewPage and DAMovePage instead.


Posted By: Ingo
Date Posted: 03 Jan 18 at 12:47AM
Hi,

try what tfrost told you...
Here is an overview about page manipulation:
http://www.debenu.com/docs/pdf_library_reference/PageManipulation.php



-------------
Cheers,
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