Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
Page conversion |
Post Reply |
Author | |
hlau
Beginner Joined: 17 Aug 11 Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 18 Aug 11 at 8:17PM |
Is there a feature that Quick PDF can load a legal page PDF and save as a letter page PDF with fit to page enhancement?
Is like shrunk the height and fit the width?
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi hlau!
No... but you can create this functionality by your own with QuickPDF. Have a look at the online reference... Cheers, Ingo Edited by Ingo - 20 Aug 11 at 9:32AM |
|
AndrewC
Moderator Group Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
Post Options
Thanks(0)
|
You could write your own function using the CapturePage and DrawCapturedPage functions.
You can play with this code to convert multiple pages as well as implementing fit to page type functionality.
QP.LoadFromFile('myfile.pdf'); // assume it is a 1 page document. QP.NewPage(); // Create a blank 2nd page we can draw into after. // Capture the second page in the merged document int CapturedPageID = QP.CapturePage(1); // This captures and then deletes page 1. QP.SetPageSize("Letter"); // Draw the captured page onto page 1 - this is the NewPage() we added above. int ret = QP.DrawCapturedPage(CapturedPageID, 0, 0, QP.PageWidth(), QP.PageHeight()); QP.SaveToFile("converted.pdf"); |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store