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 - mergefiles, size not correct
  FAQ FAQ  Forum Search   Register Register  Login Login

mergefiles, size not correct

 Post Reply Post Reply
Author
Message Reverse Sort Order
mazluta View Drop Down
Beginner
Beginner
Avatar

Joined: 21 Jun 12
Location: Israel
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote mazluta Quote  Post ReplyReply Direct Link To This Post Topic: mergefiles, size not correct
    Posted: 22 Dec 18 at 9:38AM
Thanks.

i will check his code
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: 09 Dec 18 at 2:48PM
Hi,

a single SetPageSize('A4') doesn't change an existing pdf-file to be from now on A4.
Yes. There is a way but it's not as easy as you think it is ;-)
You have to create a new A4 pdf... reading the old stuff to be changed... caputure it to the new A4 pdf...
The code from PeterL could feed your needs (he had a problem with it but this isn't a problem for you):
http://www.quickpdf.org/forum/change-papersize-on-existing-pdf_topic3284.html

Cheers,
Ingo

Back to Top
mazluta View Drop Down
Beginner
Beginner
Avatar

Joined: 21 Jun 12
Location: Israel
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote mazluta Quote  Post ReplyReply Direct Link To This Post Posted: 07 Dec 18 at 9:13PM
Ok, the problem not in the merge :)
the first file is set to 34" (in) insted of 8.5~ (A4).

is there a way to set the secend merged file to be with the same size of the firsr file?
Back to Top
mazluta View Drop Down
Beginner
Beginner
Avatar

Joined: 21 Jun 12
Location: Israel
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote mazluta Quote  Post ReplyReply Direct Link To This Post Posted: 07 Dec 18 at 8:43PM
ii use this code to merge 2 file
1 with 2 pages
secend with 1 page

  PDFLibrary := TQuickPDF.Create;
  Try
    UnlockResult := PDFLibrary.UnlockKey(edtLicenseKey);
    if UnlockResult <> 1 then
      Exit;
    Rslt := PDFLibrary.MergeFiles(InputFile_1,InputFile_2,DstFileName);
    Result := (Rslt = 1);
  Finally
    FreeAndNil(PDFLibrary);
  End;

the last page mearge dose not seem as A4 size page...

i tryed add

    //PDFLibrary.SetOrigin(1);
    //PDFLibrary.SetMeasurementUnits(1);
    //PDFLibrary.SetPageSize('A4');
    // 0 = No compression
    // 1 = Flate compression
    //PDFLibrary.CompressImages(1);

any combenition, no help.
how can i force QuickPDF  to set the merge file as the size of the source one?
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