Print Page | Close Window

Help with NormalizePage

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3710
Printed Date: 24 Apr 24 at 11:22PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Help with NormalizePage
Posted By: Otto
Subject: Help with NormalizePage
Date Posted: 14 May 19 at 8:46AM
Which approach is right?

1st approach:
Load a PDF document from file and then call function NormalizePage once, e.g.
       FQuickPDF.LoadFromFile(FileName, Password);
       FQuickPDF.NormalizePage(0);

2nd approach:
Load a PDF document from file and then call function NormalizePage for each page of the PDF document, e.g.
       FQuickPDF.LoadFromFile(FileName, Password);
       for I := 1 to FQuickPDF.PageCount do
        begin
          FQuickPDF.SelectPage(I);
          FQuickPDF.NormalizePage(0);
        end;

And what would be the difference?



Replies:
Posted By: Ingo
Date Posted: 14 May 19 at 5:20PM
Hi Otto,

here you can read all about it:
https://www.debenu.com/kb/use-normalizepage-resolve-issues-adding-text-pages-pdf-files/

Here AndrewC (R.I.P.) is telling you "once for each page" ;-)
http://www.quickpdf.org/forum/problems-drawing-on-a-pdf_topic2698.html

Cheers and welcome here,
Ingo



-------------
Cheers,
Ingo




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk