ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 PDF size not changing
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

More-Majorum

France
17 Posts

Posted - Feb 14 2023 :  02:18:51  Show Profile  Reply
Good morning,
I tested the PDF Toolbar demo and found that when I delete pages and save, the PDF size always stays the same.
Is this normal?

Thank you in advance for your answer.

xequte

38180 Posts

Posted - Feb 14 2023 :  20:47:39  Show Profile  Reply
Hi

PDFium makes incremental changes to the file, and then as you save it there are options to control how the changes are saved. Unfortunately, in my testing, they all give the same result:

ImageEnView1.PdfViewer.Document.SaveToFile( 'D:\out_Incremental.pdf', dsoIncremental );
ImageEnView1.PdfViewer.Document.SaveToFile( 'D:\out_NoIncremental.pdf', dsoNoIncremental );
ImageEnView1.PdfViewer.Document.SaveToFile( 'D:\out_RemoveSecurity.pdf', dsoRemoveSecurity );



Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: