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!
![]() |
A3 to A4 |
Post Reply ![]() |
Author | |
darkv ![]() Team Player ![]() ![]() Joined: 17 Jan 11 Status: Offline Points: 38 |
![]() ![]() ![]() ![]() ![]() Posted: 17 Jan 11 at 2:18PM |
Happy New Year to all of you
Does anyone try to split an A3 page to A4 pages. Page contains roughly 10 images, so could not use the graphics facility to split pages. So any help/advice will be welcome Thks in advance Rgds Eric |
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi!
Copy the A3-page to an A4-page. Rotate the A3-page with 180 degree. Copy the A3-page to another A4-page. Rotate the other A4-page with 180 degree. ...It's only from my mind... should work ;-) More details... here's the online-reference: http://www.quickpdflibrary.com/help/quickpdf/FunctionGroups.php Cheers and welcome here, Ingo |
|
![]() |
|
darkv ![]() Team Player ![]() ![]() Joined: 17 Jan 11 Status: Offline Points: 38 |
![]() ![]() ![]() ![]() ![]() |
Ingo,
Thanks for you reply & your welcome message. Copypageranges does not work (documentation is very poor abour this function, especially using .net) , may be due to usage of DAFileOpen. I found some differences depending on using DA or "normal" functions. Is there any datasheet on impact when using one or the other, and when to choose DA functions or "normal" Still investigating ;-) Rgds Eric |
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi Eric!
The MOST important thing: Don't (NEVER) mix DA-functions with non-DA-functions! Cheers, Ingo |
|
![]() |
|
darkv ![]() Team Player ![]() ![]() Joined: 17 Jan 11 Status: Offline Points: 38 |
![]() ![]() ![]() ![]() ![]() |
Ingo,
Thanks for your advice, i will ;-) Till now, i forgot CopyPage which does not work, and use Extractfile (which allows also to make a work copy more safe) Then i used your rotation advice, it works for the left page but not for the right one (it stilll got the left page) Please find below an code extraction (i'm convinced this is an obvious but looking for too long) Feel free if u see where i'm wrong Thks in advance Rgds Eric zPdf.LoadFromFile("c:\temp.dir\blank_pp1.pdf") lRtn = zPdf.RotatePage(90) lRtn = zPdf.SetPageSize("A4 Landscape") lRtn = zPdf.SaveToFile("c:\temp.dir\blank_pt1.pdf") >>> Left page is ok ' zPdf.LoadFromFile("c:\temp.dir\blank_pp1.pdf") lRtn = zPdf.RotatePage(180) lRtn = zPdf.SaveToFile("c:\temp.dir\blank_pp2.pdf") >>>> right page is at the bottom zPdf.LoadFromFile("c:\temp.dir\blank_pp2.pdf") lRtn = zPdf.RotatePage(270) lRtn = zPdf.SetPageSize("A4 Landscape") lRtn = zPdf.SaveToFile("c:\temp.dir\blank_pt2.pdf") >>>>> left page but inversed |
|
![]() |
|
darkv ![]() Team Player ![]() ![]() Joined: 17 Jan 11 Status: Offline Points: 38 |
![]() ![]() ![]() ![]() ![]() |
Ingo,
I solved it using graphics function (renderpagetoDC) and then using .net image manipulations. It seems that using the rotatepages function keeps height and width to the original values (before rotation) .... easy to fix, but little bit boring ... thks for your help Rgds Eric Ps : how to close this post |
|
![]() |
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