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!
A4 to A3 |
Post Reply |
Author | |
Nelson Castro
Beginner Joined: 25 Apr 13 Location: Brasil Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 13 Jun 13 at 1:37PM |
Hi! Please, how can I convert two pages A4 to a single page A3? Thanks for any help!
|
|
AndrewC
Moderator Group Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
Post Options
Thanks(0)
|
Nelson, Here is some very simple code without error checking that will do what you need. It assumes there are 2 A4 pages in your input file. QP.LoadFromFile("2pages.pdf"); int capID = QP.CapturePage(2); QP.SetPageSize("A3"); QP.SelectPage(1); QP.SetOrigin(1); QP.DrawCapturedPage(capID, QP.PageWidth()/2, 0, QP.PageWidth() / 2, QP.PageHeight()); QP.SaveToFile("out.pdf"); Andrew
Edited by AndrewC - 14 Jun 13 at 3:08AM |
|
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