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