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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 PDF size not changing

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
More-Majorum Posted - Feb 14 2023 : 02:18:51
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.
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Feb 14 2023 : 20:47:39
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