0 Replies Latest reply: Nov 3, 2011 7:44 AM by joeln3 RSS

    AVDocClose(avDoc,true) : strange behavior with Acrobat X

    joeln3 Community Member

      Hello,

       

      I use the AVDocClose() function to close my document. Before closing the document I made a lot of change in the pdf file but I don't want to keep the modifications so I just want to close it.

       

      Since Acrobat X the AVDocClose() creates a temporary file in the "C:\Users\myUser\AppData\Local\Temp" folder with the name A9RAxxx.tmp. But while closing document with a lot of images this temporary file increases a lot (+ 2 Go) and is only removed while Adobe Acrobat is closed. So it can increases if I open another file and close it again.

       

      Do you know how I can improve the close process to prevent the creation of this temporary file (which was not created using previous version of Acrobat).

       

      I have a workaround : just save the file before closing it. But in my case I d'ont want to save it so it's not acceptable.

       

      Thanks in advance for any informations (I know it's a vague description but I have nothing more),

      Joe