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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - A3 to A4
  FAQ FAQ  Forum Search   Register Register  Login Login

A3 to A4

 Post Reply Post Reply
Author
Message Reverse Sort Order
darkv View Drop Down
Team Player
Team Player
Avatar

Joined: 17 Jan 11
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote darkv Quote  Post ReplyReply Direct Link To This Post Topic: A3 to A4
    Posted: 19 Jan 11 at 12:05PM
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
Back to Top
darkv View Drop Down
Team Player
Team Player
Avatar

Joined: 17 Jan 11
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote darkv Quote  Post ReplyReply Direct Link To This Post Posted: 18 Jan 11 at 1:15PM
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


Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 18 Jan 11 at 12:19PM
Hi Eric!

The MOST important thing:
Don't (NEVER) mix DA-functions with non-DA-functions!

Cheers, Ingo

Back to Top
darkv View Drop Down
Team Player
Team Player
Avatar

Joined: 17 Jan 11
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote darkv Quote  Post ReplyReply Direct Link To This Post Posted: 18 Jan 11 at 9:54AM
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
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 17 Jan 11 at 3:37PM
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


Back to Top
darkv View Drop Down
Team Player
Team Player
Avatar

Joined: 17 Jan 11
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote darkv Quote  Post ReplyReply Direct Link To This Post 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



Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store